Skip to main content

__init__

os

sys

dotenv

patched_find_dotenv

def patched_find_dotenv(filename=".env",
raise_error_if_not_found=False,
usecwd=False)

A replacement for python-dotenv's find_dotenv that works with compiled .pyc files by using sys.argv[0] as a fallback.