Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Add a file encoding directive[1] at the begining of your file, and you can shoot at as many of your feet as you want.

[1] PEP 0263: https://www.python.org/dev/peps/pep-0263/



In Python 2 that only works within string literals, though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: