Forums

Privacy of .py files

Hi,

I have a .py file containing a password that I'd like to keep secret. Is it safe to put the .py file online? Is there a possibility to get to the .py files through the pythonanywhere website? Thanks!

Regards, Cazan

If you don't serve the file as a static file or through your web apps media files, then the Python source is not actually "on the internet" so it's pretty safe.

Thanks!