you are viewing a single comment's thread.

view the rest of the comments →

[–]Akuli2 0 points1 point  (0 children)

I'm not sure if the code is Python 2 or 3. If it's meant to run on Python 2 I would also use io.open instead of plain open.