Forums

running scripts created in notepad

I have created a script in notepad and saved it as test.py. My question is how can I run my program, when I click run and save nothing happens and how can I test my program on a console

You need to transfer your program on to Python Anywhere's servers before you can run it there. You can either use their Dropbox integration, or if you go to the Files tab on your dashboard, you'll see an upload file option.

Once your file is uploaded, you can go to a bash shell (again, via your dashboard) and you should find your file there ready to run.

Alternatively, via the Files tab there's an online editor which opens right up in your web browser - I haven't really used it myself, but you might find that easier than continually uploading the file each time you change it.