Can a Python script detect it is running in repl.it?
boukeas

Is it possible for a Python script to check if it is running within repl.it?

You are viewing a single comment. View All
Vandesm14

@boukeas You can set .env variables manually and pull from that, but it's far from automatic.
https://pypi.org/project/python-dotenv/