Files, Modules & Packages
Read and write files, and use the libraries the world has built.
For: Learners who can write functions
0/10 done
Earn a free certificate
Mark all 10 lessons as done and pass a short 5-question quiz to get a verified IT Vizag certificate you can add to LinkedIn.
See a sample certificate →- 1Reading and writing text files Open, read, write and the with statement.2 min read
- 2Working with CSV files Read and write spreadsheet-style data with the csv module.1 min read
- 3JSON: data for the web Save and load structured data, as APIs do.2 min read
- 4Modules and import Split your code into files and reuse it.2 min readFree sign-up
- 5The standard library tour datetime, random, math, os and pathlib: batteries included.2 min readFree sign-up
- 6pip and packages Install libraries others have built.2 min readFree sign-up
- 7Virtual environments Keep each project's libraries separate, with venv.2 min readFree sign-up
- 8Running Python on your laptop Install Python and VS Code and run scripts from the terminal.2 min readFree sign-up
- 9AI angle: automate a boring task Use AI to help write a script that renames and sorts files.2 min readFree sign-up
- 10Mini project: expense tracker Save expenses to a CSV and print monthly totals.3 min readFree sign-up
All 10 lessons are free. The first 3 are open to everyone; the rest need a free sign-up.
What to learn next
Python Meets AI
Use your Python to talk to AI models and build small AI tools.
10 lessons · 3 free · 10 ready now
Python Basics
Your first lines of Python, in the browser, with nothing to install.
10 lessons · 3 free · 10 ready now
Decisions & Loops
Make your programs choose and repeat.
9 lessons · 3 free · 9 ready now
Learning with friends is easier — share this course