Why isn't my Python script working?
Print this Article
Comment on this Article
Last Updated:
February 19, 2007 9:31 AM
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.