Answers for "python-dotenv could not parse statement starting at line 1"

1

python-dotenv could not parse statement starting at line 1

from pathlib import Path
from dotenv import load_dotenv

env_path = Path('.', '.env')
load_dotenv(dotenv_path=env_path)

my_env_var = os.getenv('MY_ENV_VAR')
Posted by: Guest on April-13-2022

Code answers related to "python-dotenv could not parse statement starting at line 1"

Python Answers by Framework

Browse Popular Code Answers by Language