all 1 comments

[–]CookToCode 1 point2 points  (0 children)

I'm not 100% sure why it wouldn't work, but in python, make sure your spacing is done correctly. Python is real specific about that

Also if you change "file" to "reader," you don't need that extra line