Forums

python 2.6 of how to upgrade to 2.7?

I'm new to pythonanywhere. I need to use dryscrape libr. and i was told it is for python 2.7 and i failed to install it. But i'm not clear of how to upgrade to 2.7?

Python 2.7 is installed on PythonAnywhere already. You can start Python 2.7 consoles from the consoles page. You can also run "python2.7" from a Bash console. And if you want the "Save & Run" button to use 2.7, you can use a hashbang at the top of the file:

1
#!/usr/bin/python2.7