Can I run a Python App in glitch

Title says it all, is it possible to do so? Does it involve venv or some stuff if possible??

Yes, it’s not officially supported but you can, see https://glitch.com/edit/#!/flask-hello-world for an example. Use requirements.txt instead of package.json.

5 Likes

Is there a way to access the .env file? in nodejs it was process.env.whatever

os.getenv. the file name

Hey there, please try avoiding old posts because they fall to mainpage when you reply. Even if you know the answer please dont reply to old posts. And it can be annoying sometimes :(.

1 Like