Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

This lesson is for members only. Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Reading and Writing Files in Python: Summary

In this course, you learned about reading and writing files in Python. You covered everything from what a file is made up of to which libraries can help you along that way. You also took a look at some basic scenarios of file usage as well as some advanced techniques.

You now know what makes up a file and why that’s important in Python, the basics of reading and writing files in Python, and some basic scenarios of reading and writing files.

Comments & Discussion

Abby Jones on July 10, 2019

Fantastic course!

aradim on July 13, 2019

EXCELLANT COURSE!, thank you

andersgs on July 14, 2019

Thank you. I learned about bpython and the pattern:

python if input() == 'x': break

That will be very useful.

For manipulating paths, however, I do prefer pathlib (docs.python.org/3/library/pathlib.html). I think the PEP around the rationale for pathlib is worth a read (www.python.org/dev/peps/pep-0428/).

Thank you again for the great tutorial.

Robert on July 14, 2019

Very nice,

Watching it is helping me to get through an area where I’ve been stuck. I’ll be back to watch several times and type it out, such is my memory ( need an upgrade!).

Thank you,

sion on July 26, 2019

Covered the basics and useful extensions of them. Well presented, thank you.

ALXTheMaster on July 31, 2019

Great course! i like when you keep writing the code again and again, that just makes me better just by watching, by the time i opened pycharm, i was distracted doing something else, but then i challenged myself to write the code by not looking at the video after 35 minutes and guess what, i am a beginner and it got stock in my head. THANK YOU!

Become a Member to join the conversation.