Forums

Upgrade to Python 3

Uploaded a file.py an it tries to run automatically as Python 2.7, witch does not work properly. How do I get my .py file to run with Python 3?

Are you trying to run it using the "Run" button in the editor? If so, it's probably because the file starts with a "hashbang" line that is telling it to use Python 2. This help page shows how to tell the system to use different versions of Python using hashbangs.