Jan-06-2018, 12:15 PM
(This post was last modified: Jan-06-2018, 12:15 PM by Gribouillis.)
Such things may happen if you copy and paste code from certain files such as pdf files to your editor. These files contain invisible characters that produce invalid python code (this is not a python specific issue).
You can delete the whole file and type it by hand. In fact there is a well known online tutorial named "Learn python the hard way". Its main paradigm is to type every single character of every program in the tutorial! No copy and paste is allowed.
You can delete the whole file and type it by hand. In fact there is a well known online tutorial named "Learn python the hard way". Its main paradigm is to type every single character of every program in the tutorial! No copy and paste is allowed.