Forums

ENV Foler Verwendung in IDE

Hello,

I hope you can help me. I have already searched the forum and Google but found no solution.

When I edit files, with the IDE, a file and try to run this >>>Run, the ENV folder is not loaded. Through the web page, the Env is loaded and the app runs.

How can I set this in the IDE. Thanks and many greetings Tom

You need to load the env if you want to use it. See https://help.pythonanywhere.com/pages/environment-variables-for-web-apps/ for how to load an env in a web app. You can use the same code to load the env in your python script.

Thanks