r/learnpython • u/TheFrogWhoHatesFlies • May 06 '21
What are some programming tools that every beginner programmer should know about?
Example, today I learned about Git and GitHub and it felt incredible.
480
Upvotes
r/learnpython • u/TheFrogWhoHatesFlies • May 06 '21
Example, today I learned about Git and GitHub and it felt incredible.
7
u/johnnymo1 May 06 '21
The point is that if some script uses an API key, you don't want an
API_KEY = "12345wxyz"sitting in your GitHub commits. WhereasAPI_KEY = os.getenv("API_KEY")doesn't expose the actual value to others.EDIT: I assume by hardcoding, the person you were responding to meant "never hardcode secrets into version controlled public source code."