- python-gobject
chmod +x watermark
./watermark
import inspect | |
import sys | |
from pathlib import Path | |
def warn_stacklevel() -> int: | |
"""Dynamically determine stacklevel for warnings based on the call stack""" | |
try: | |
# Grab the root module from the current module '__name__' | |
module_name = __name__.partition(".")[0] |