Python Basics: Speak the Language

Learn Python in the browser: real scripts, written and debugged with nothing to install, from your first print to files, JSON and modules, ending in a pocket expense tracker.

Why this course

You know the big ideas; now learn how Python says them. Real Python, written and debugged right in your browser, one Masala Box script at a time.

What you will learn

  • Python syntax
  • Strings, lists and dictionaries
  • Functions
  • Errors and exceptions
  • Files and JSON
  • Modules and imports

Course outline

14 video lessons, each starting from a problem, with quizzes and hands-on challenges in between.

  1. Hello, Python: your first script
  2. Names and values
  3. Strings that do work
  4. Making decisions
  5. Lists: many things in a row
  6. Loops that save you hours
  7. Dictionaries: Python's superpower
  8. Functions: your own commands
  9. Mutable vs immutable
  10. When things go wrong
  11. Files: save and load
  12. JSON: the language of the internet
  13. Modules and imports
  14. Capstone: Pocket Expense Tracker