Codeskill

Learn to code, step by step

Going further with Python

Welcome to Going further with Python. It assumes you have worked through An introduction to Python and are comfortable with core syntax, functions, lists and dictionaries, basic file handling, modules, and the Flask and pandas tasters from the beginner series.

The intro tutorials gave you the vocabulary. These tutorials are about writing Python you would actually ship: idiomatic patterns, packaging, virtual environments, structured error handling, HTTP and database access, Flask beyond a single hello-world route, and tests that catch regressions before your users do.

We start with idiomatic Python – comprehensions, unpacking, context managers – then move into packaging, pinning dependencies, and OOP patterns you will meet in real codebases. Type hints get a light touch: enough to help your editor and future self, not a TypeScript cosplay session.

Later tutorials cover paths and config files, HTTP clients, database access with SQLAlchemy or plain DB-API, responsible scraping, pytest, and CLI tools with argparse or Click. Where the beginner series already explains something clearly, we link back rather than repeat it.

You need Python 3.10 or newer on your machine and a text editor. VS Code works well; use whatever you like. Examples assume a project folder and a virtual environment – we cover that properly in tutorial 30 if you skipped it in the intro.

These tutorials end with two mini projects: a CLI utility that earns its keep, and a small Flask app with forms and a database. Work through the tutorials in order when you can. Each one builds on the last.

Start here: Idiomatic Python

15 tutorials in this topic

  1. Idiomatic Python
  2. Packaging your module
  3. Virtualenvs and pinning
  4. OOP patterns you’ll use
  5. Type hints that help
  6. Exceptions and logging system
  7. Paths JSON CSV config
  8. HTTP clients and APIs
  9. SQLAlchemy or DB-API structured access
  10. Flask beyond hello world
  11. Scraping responsibly
  12. Pytest fundamentals
  13. CLI tools argparse/click
  14. Mini project CLI utility
  15. Mini project Flask app forms+db