I am using Windows 10 as my os, and I went to the control panel and set two environment variables equal to an email and a password. I pressed ok and went to Sublime text and set two variables equal to the environment variables but when I ran it, it says None. I don't know how to fix this because I made sure the variables are there and restarted everything but it still says none. Here is the code.
import os
db_user = os.environ.get('EMAIL_USER')
db_pass = os.environ.get('EMAIL_PASS')
print(db_user)
print(db_pass)
Does anyone know what the problem is?
Edit: I followed the answers and when I did them the error said, SyntaxError: cannot assign to function call And I did the DEBUSSY one and the error I had was, SyntaxError: cannot assign to function call When it said that I had a syntax error, it said it was the HOME and I checked over but it still said syntax error