Tutorials
Programming with Python | Chapter 24: Introduction to GUI Programming with Tkinter
GUI basics with Python's Tkinter. Create windows, use widgets (Label, Button, Entry), manage layouts (pack, grid), handle events, and get user input.
Programming with Python | Chapter 23: Working with APIs and the requests Library
Understand web APIs (REST, HTTP). Use Python's requests library to make GET/POST requests, handle responses (status codes, JSON), pass parameters, and send data
Programming with Python | Chapter 22: Working with CSV and JSON Data
Learn to read/write CSV files using Python's csv module (reader/writer, DictReader/Writer) and handle JSON data with the json module (load/dump, loads/dumps).
Programming with Python | Chapter 21: List Comprehensions and Generator Expressions
Concise list creation with list comprehensions and memory-efficient iteration with generator expressions. Conditionals and nesting, e dict/set comprehensions.
Programming with Python | Chapter 20: Working with Dates and Times (datetime module)
Work with dates and times using Python's datetime module. Learn about date, time, datetime, timedelta objects, formatting (strftime), and parsing (strptime).
Programming with Python | Chapter 19: Testing with pytest (Alternative Framework)
Explore the pytest framework. Write simple test functions using assert, utilize fixtures (@pytest.fixture), parameterize tests (@pytest.mark.parametrize).
Programming with Python | Chapter 18: Testing with unittest
Learn unit testing in Python using the built-in unittest module. Structure tests with TestCase, write test methods (test_), use assertions, and run tests.
Programming with Python | Chapter 17: Context Managers and the with Statement
Resource management using Python's with statement and context managers. Learn __enter__/__exit__ protocol and create custom managers via classes or contextlib.
Programming with Python | Chapter 16: Decorators
Learn Python decorators (@) to modify functions. Understand first-class functions, closures, wrapper functions, use functools.wraps for metadata preservation.
Programming with Python | Chapter 15: Iterators and Generators
Python's iteration protocol (__iter__, __next__). Learn about iterables vs iterators, how for loops work, and create memory-efficient generators using yield.