python question: how get output python subprocess ?ΒΏ

Easiest method is using the subprocess module. If you're using Py3.5+ (you should be) see:


Oops, just saw your addition of "in realtime", you're going to want to use Popen. See the docs.

Marc KΓΆhlbrugge

How do you store and manage your API keys?

Keepassxc on Linux, KeePassDroid on my Pixel2, db file sync'd via Dropbox. If you're talking about on your app or code, then each situation is different but it's normal to have environment variables store that or special configs that are only stored in the environments that need to use them.