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

Even in Python 3?


In Python3 it's completely fine, if you open the files with the correct encoding. For Python2, you've got to use UnicodeReader/Writer (and to open in binary mode): https://docs.python.org/2/library/csv.html?highlight=csv#exa...




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

Search: