I am really new to the space so sorry if my questioning is bad or I ask novice questions. also thanks in advance for the repliers!
what I am trying to do? I am trying to access my environment variable from the .env file and print its value in the terminal.
What is the issue?
When I run the script in the terminal I keep getting the error none
I checked a few forums and the dotenv paper about the issue but none helped me solve this
some more info:
I am using windows 10
The version of dotenv is 0.20.0
I downloaded it using python -m pip install python-dotenv
the code
.env file -
export PRIVATE_KEY = 0xc3c4e4fe27d8e6b06710e713878e4488c034ce346a578fdfa78bb3d335130eec
the python file -
from dotenv import load_dotenv
import os
load_dotenv()
print(os.getenv("PRIVATE_KEY"))





