How to Hide Passwords and Secret Keys in Your Python Script (Windows/macOS)

preview_player
Показать описание
Hi! In this video, I’ll show you how to hide passwords and secret keys in Python. First, we'll create environment variable in macOS and Windows and then we'll call these variables in our script.

--------------------
Content:
0:00 Intro
0:20 Create environment variables on macOS
2:30 Create environment variables on Windows
3:59 Calling environment variables in our Python script
Рекомендации по теме
Комментарии
Автор

Great Video and explanations. Clearly this video is Labeled Windows, Mac. I'm not surprised using Pydroid there's an error.
I followed the process to print

print(uname)
print(pass)

Results = none none.

Should I save the bash file in a certain location?
Does the os.environ.get command work with Pydroid3?
I would like to code code code. Please help. Thank you 🤙🏼🙏🏼

zippideedoodah