t212 Posted September 1, 2020 Posted September 1, 2020 (edited) The next problem I see is your test.py file has Dos line endings. This is usually caused by using a Windows editor, such as notepad, that doesn't understand line endings, and then uploading the file to the server. This is a Linux server, so you need to have Linux line endings. The easiest way to accomplish this is to create the file through the cpanel file editor, and copy/paste your code in. If you prefer to use an editor on your Windows computer and then upload through FTP you'll need to get an editor that understands line endings. I've never used it myself, but I've heard that Notepad++ can do this.I am on Tommy server and I copy pasted the code you gave above, but I still get the error Edited September 1, 2020 by t212 Quote
Krydos Posted September 1, 2020 Posted September 1, 2020 What is the url to the test python script? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.