Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • remove , newline='' Commented Nov 8, 2015 at 13:47
  • Indeed, newline is not a valid parameter to the open function. What makes you think it is? Commented Nov 8, 2015 at 13:49
  • 2
    nevermind, I think the problem is actually the python version you are using: you should use python 3 in order to have the newline argument, you probably are using python 2 Commented Nov 8, 2015 at 13:49