I created the .env file using the command and created variables like token_id="13423edq234"
and so on. I don't want to use an external package like dotenv to read the file. I just want to know if there's any way to load the .env file that I've created so that it can be read by Python. Also I don't want to add the env variable to zprofile.
vim .env
and in the Python 3 shell,
import os
os.environ['token_id']
and it says, it's not defined.