Hey y'all,
Fingers crossed this is an easy question. I'm trying to learn to do python properly, like maybe not setting my email username and password as a local variable! I've written a web scraper. I want it to email me when it finds a result of interest. I'm using Gmail. I'd like to set the username and password as environment variables, like so:
gmail_login = os.environ.get('GMAIL_LOGIN')
gmail_pw = os.environ.get('GMAIL_PW')
Where can I set environment variables in Pythonanywhere? I saw all the instructions about virtualenv, but I don't use that and don't have any good idea what it is or if I should use it. This is a 100-line practice project. Nothing online.
Thanks!