Why isn't my Python script working?

Check that your Python script is in the "unix text file format." If it is in a "DOS/Windows text file format," Python will not interpret it correctly.

To solve this problem, upload your Python script in "ASCII" mode instead of "binary" mode. Your FTP server should translate your script to the appropriate format.

In addition to using the correct format, you also need to set execute permissions on your Python scripts. Permissions can be set using an FTP client or the FTP File Manager. For more information, see Set permissions.


Czy ten artykuł był pomocny?
Thanks for your feedback. To speak with a customer service representative, please use the support phone number or chat option above.
Cieszymy się, że udało się nam pomóc! Czy coś jeszcze możemy dla Ciebie zrobić?
Przykro nam z tego powodu. Tell us what was confusing or why the solution didn’t solve your problem.