CodeClerks

What are some common problems with Python?



Write the reason you're deleting this FAQ

What are some common problems with Python?

Please discuss common problems you face when programming with Python

Comments

Please login or sign up to leave a comment

Join
Hunter
On a Unix-like system, the line endings in the program file must be Unix style line endings. This is mandatory because the web
server checks the first line of the script and tries to run the program specified there. It gets easily confused by Windows line endings (Carriage Return & Line Feed, also called CRLF), so you have to convert the file to Unix line endings (only
Line Feed, LF). This can be done automatically by uploading the file via FTP in text mode instead of binary mode, but the preferred way is just telling your editor to save the files with Unix line endings. Most editors support this.



Are you sure you want to delete this post?

Jadster
I would have to say that one of my biggest issues with python is spacing and colons. They always tend to throw me off if I have missing spacing or a missing colon and it comes up saying "Invalid Syntax" and then if I don't have a colon, the system won't tell me where my error is so I have to spend a few minutes finding the error manually and if I can't find it, I have to rewrite the code sometimes.



Are you sure you want to delete this post?