Computer Science
Algorithms, Python programming, data structures and web development.
Data Structures
Python's core data structures: lists, tuples, sets and dictionaries.
pillola
Lists in Python
Quick guide to lists in Python: initialisation, adding and removing elements, iterating with for loops.
pillola
List Slicing in Python
Quick guide to list slicing in Python: syntax, negative indices, step, copying and slice assignment.
pillola
Tuples in Python
Quick guide to tuples in Python: creation, access, immutability, unpacking and differences from lists and sets.
pillola
Sets in Python
Quick guide to sets in Python: creation, duplicate elimination, set operations and differences from lists.
pillola
Dictionaries in Python
Quick guide to dictionaries in Python: creation, access, modification, removal and iteration over key-value pairs.
pillola
Comprehensions in Python
Quick guide to comprehensions in Python: list, set and dict comprehensions, conditions, nested loops and generator expressions.Functions and Modules
Defining reusable functions and organizing code into modules.
pillola
Functions in Python
Quick guide to functions in Python: positional, keyword, optional parameters and variable-length arguments with *args and **kwargs.
guida
Advanced Functions and Modules in Python
Deep dive into pass-by-value vs pass-by-reference, organising code into modules and using the if __name__ == '__main__' construct.File Handling
File system operations and reading/writing text and binary files.
guida
File Input/Output in Python
Complete guide to reading and writing files in Python: opening modes, the with context manager, text and binary files, seek() and tell().
guida
File Management in Python
How to work with files in Python using os, pathlib and shutil: checking existence, getting name and extension, renaming, copying and deleting files.Object-Oriented Programming
Classes, objects, inheritance and advanced OOP patterns.
guida
Object-Oriented Programming in Python
Introduction to OOP in Python: classes, objects, the __init__ constructor, self, encapsulation, properties, static methods and dataclasses with a real-world IPAddress case study.
guida
⚡
Advanced OOP: Inheritance, Abstract Classes and Polymorphism
Advanced OOP in Python: inheritance, abstract classes with the abc module, static methods and operator overloading with Magic Methods.Web and Networking
HTTP communication with the Requests library and web development with Flask.
pillola
The requests library in Python
Quick guide to the requests library for sending HTTP requests (GET, POST) and handling headers, cookies and sessions in Python.
pillolona
Flask: building web apps with Python
Complete guide to Flask: routes, Jinja2 templates, forms, sessions, cookies and the structure of a Python web application.Libraries and Algorithms
Standard library modules and algorithms on complex data structures.
guida
The CSV Library in Python
Guide to Python's standard csv library: reading and writing CSV files with csv.reader, csv.writer, DictReader and DictWriter.
guida
Introduction to Graphs in Python
Graph definition and components, Python representation with adjacency lists, traversal algorithms (DFS, BFS), shortest paths (Bellman-Ford, Dijkstra) and visualisation with NetworkX.