Hjælp

GoDaddy-hjælp

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.


Hjalp denne artikel?
Tak for din feedback. Benyt telefonnummeret til support eller chat-funktionen ovenfor, hvis du vil tale med en kundeservicerepræsentant.
Det glæder os, at vi kunne hjælpe! Er der andet, vi kan gøre for dig?
Beklager. Fortæl os, hvad du fandt forvirrende, eller hvorfor løsningen ikke løste dit problem.