how do you make the main.py run
I made a php web server repl to make a game (similar to mrush.net) and I took some programming from my friends repl where we tried to make it and I feel we failed but he did better than I could have. So I put in a main.py but it is on a php repl and it won't run. How do I make it work. I don't know python and I prefer not to use it on repl because it runs slow on repl.
There is actually a way to do it!
If you create a PHP web server, you can then create a
.replit file. Inside, attach the following code:
run = "main.py"
Then, in your
main.py file, just put something in!
Now you can mark it as answered, thanks so much!