3 ms·
> If a story broke, I’d got to Fox news, CBS, Aljazeera, Politico– even fake news sites like The Onion or CNN. Zing! > Tkinter- I knew I’d have to enter my gm
by mi100hael 10y ago
> If a story broke, I’d got to Fox news, CBS, Aljazeera, Politico– even fake news sites like The Onion or CNN.
Zing!
> Tkinter- I knew I’d have to enter my gmail username and password, and I didn’t want to hard code it knowing I was going to share my code.
For something like this that's intended to run forever or at an interval via cron or whatever, you're much better off pulling credentials from a config file or environment variables than requiring user interaction, especially via GUI.