Python 3.10 on replit
Basically put this in your
run = "(python3.10 --version || install-pkg python3.10) && clear && python3.10 main.py"
(python3.10 --version || install-pkg python3.10): check the version of python3.10, if it exited non-zero install it
clear && python3.10 main.py: clear the screen and run main.py
Python 3.10 is not the full release until October (currently beta), and I doubt very much that replit will add it then, so use this
.replit file if you want to run the new features.