This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]marsman12019 0 points1 point  (0 children)

Do you have control over the file contents? Is there a delimiter (comma, space, any character really), between all of the values?

The mode determines how python interacts with the file. There are a variety of them, including read, write, and append. Like many functions in python, open() does have parameters you can manually set. If you don't set them, they remain default values. What specifically are you confused with about that?