Tell us what’s happening:
Hi. i do not understand files. Can someone explain them?
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Challenge Information:
Python for Everybody - Reading Files
1 Like
ILM
May 30, 2025, 8:43pm
2
what about files do you not understand?
Hi! Please refer to the link you posted and watch the freeCodeCamp video included there, it clearly explains what files are and how Python can be used to access, read, and update them. Common operations include open()
to access a file, read()
to read its contents.
Also, check out this beginner friendly tutorial from the official docs that explains working with files in Python: 7. Input and Output — Python 3.13.3 documentation and File Handling in Python | GeeksforGeeks
Let us know if this help. Good Luck!
are the files included in python or i have to download them?
ILM
June 1, 2025, 7:36am
5
which files are you asking about?
Thats is the thing i do not understand about files. For example, What are the files that he uses in the video?
ILM
June 2, 2025, 7:10am
8
he uses a mbox.txt
file as example, it’s a plain text file
That file was on his computer? like downloaded?
Yes. You can find it linked here:
https://github.com/csev/py4e/blob/master/book3/07-files.mkd
http://www.py4e.com/code3/mbox.txt
And anything else you might need to follow along you should be able to find on this github repo