Can a Python script detect it is running in repl.it?
Is it possible for a Python script to check if it is running within repl.it?
detect if directory /home/runner exists, it isn't likely for it to exist on some other device, but it does on repl.it. For it to exist on another device would mean that device is linux/unix based with the username of a user as "runner". Example: