How to run another python file in repl other than main.py?
Do I really need to copy any text to main.py for it to run? because whenever I use the "execute" option always runs main.py, not the text that is open
You need to use Python's module system. Have a look at this example: https://repl.it/@freddiethefrog/modules
The link you provided does not work for me. I get an error message that says "Server not found". Personally I don't find it a chore to use the standard import . Segregating your code using modules is good coding practice.