Python
Step-by-step Python tutorials — ordered lessons from basics to advanced.
Lesson outline
-
49
Explore Python's Built-in Functions
Learn Python's built-in functions catalog step by step. This lesson covers core concepts, practical usage, troubleshooting, and edge cases — perfect for developers progressing through Python fundamentals.
-
50
Read & Write JSON with json Module
Learn to read and write JSON data using Python's json module with a practical, step-by-step lesson. Covers core concepts, hands-on walkthrough, troubleshooting, and next steps.
-
51
Parse CSV Files
Learn to parse CSV files using Python's csv module with hands-on steps, troubleshooting, and progression to next lesson.
-
52
Work with Dates and Times using datetime
Learn how to use Python's datetime module to work with dates and times effectively in this step-by-step tutorial. Understand how to create, format, and manipulate dates and times, handle time zones, and deal with common edge cases. Includes a hands-on exercise and practical troubleshooting tips.
-
53
Format Strings in Python
Learn to format strings using f-strings and format() in Python. This step-by-step tutorial covers core concepts, hands-on exercises, troubleshooting, and what to study next.
-
54
Use re module in Python
Master Python's re module for regular expressions: pattern matching, search, substitution, and parsing. Includes hands-on exercises and best practices.
-
55
Readable Python Docstrings
Learn to write readable docstrings and comments in Python. This lesson covers best practices for documenting code with clear, concise docstrings and helpful comments. Includes hands-on exercises, common pitfalls, and next steps for progress.
-
56
Organize Code Into Modules
Learn how to organize Python code into modules and packages for better structure and reusability. Hands-on lesson with practical examples, troubleshooting, and next steps.
-
57
Install packages with pip
Learn to install and manage Python packages using pip, a fundamental tool for extending Python's functionality. This tutorial covers core concepts, hands-on steps, troubleshooting, and what to study next.
-
58
Create Virtual Environments
Learn to create virtual environments with venv in Python. This step-by-step lesson covers why you need isolated environments, how to create and activate them, and best practices for managing project dependencies.
-
59
Python Import System
Master Python's import system: understand how modules are found, loaded, and executed. This lesson covers import paths, relative vs absolute imports, and common pitfalls with hands-on exercises.
-
60
Navigate Python Docs
Learn how to quickly find and understand Python's official documentation. This lesson covers effective navigation strategies, practical exercises, and tips to connect docs to your coding workflow.
Python — step-by-step tutorials
What you will find here
This track walks through python in order — each lesson is server-rendered HTML you can read without JavaScript. Follow the outline, then practice in the browser IDE when a lesson links to runnable code.
Tutorials vs quizzes and code samples
Tutorials teach in sequence. For quick checks use quizzes. For copy-paste snippets see code samples. For deeper reading browse articles.