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
Answered by Vandesm14 [earned 5 cycles]
View Answer
boukeas

@Vandesm14 What I am saying is it would be possible for a program to detect if it's running in repl.it if a specific environment variable was automatically set by repl.it in the Linux VM.