Skip to content
IT Vizag

Files, Modules & Packages

Intermediate · 10 lessons · about 39 minutes

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 →
  1. 1Reading and writing text files Open, read, write and the with statement.2 min read
  2. 2Working with CSV files Read and write spreadsheet-style data with the csv module.1 min read
  3. 3JSON: data for the web Save and load structured data, as APIs do.2 min read
  4. 4Modules and import Split your code into files and reuse it.2 min readFree sign-up
  5. 5The standard library tour datetime, random, math, os and pathlib: batteries included.2 min readFree sign-up
  6. 6pip and packages Install libraries others have built.2 min readFree sign-up
  7. 7Virtual environments Keep each project's libraries separate, with venv.2 min readFree sign-up
  8. 8Running Python on your laptop Install Python and VS Code and run scripts from the terminal.2 min readFree sign-up
  9. 9AI angle: automate a boring task Use AI to help write a script that renames and sorts files.2 min readFree sign-up
  10. 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

Learning with friends is easier — share this course