Interacting with Files

Length: 00:07:13

Lesson Summary:

Learn to read, write, and append to files using Python.

Note: if you're using Python 3, the following line will not work:

xmen_file.seek(-1, os.SEEK_END)

The equivalent for Python 3 would be:

xmen_file.seek(0, os.SEEK_END)

This lesson is only available to Linux Academy members.

Sign Up To View This Lesson

Or Log In

Looking For Team Training?

Learn More