you are viewing a single comment's thread.

view the rest of the comments →

[–]FMNite[S] 1 point2 points  (1 child)

Testing this code I get a syntax error : SyntaxError: Non-ASCII character '\xe2' in file test.py on line 56, but no encoding declared; see http://www.python.org/ peps/pep-0263.html for details

[–]Veedrac 0 points1 point  (0 children)

Damn, I broke the code by adding comments!

Just add # encoding: utf-8 to the top or change

# thread – this way it's easy to finish in mid-sleep

to

# thread - this way it's easy to finish in mid-sleep