Create and use Python virtual environments with venv on Windows, macOS and Linux, freeze requirements and alternatives like conda and uv.
Read More »Python Generators and yield Explained
Python generators with yield, next(), generator expressions, memory savings, infinite sequences and processing large files.
Read More »Python Decorators Explained with Examples
Python decorators: simple and parameterised decorators, functools.wraps, a timing decorator and lru_cache, with tested output.
Read More »Python Inheritance: super(), Method Overriding and MRO
Python inheritance with super(), method overriding, isinstance, multiple inheritance and the method resolution order.
Read More »Python Object-Oriented Programming (OOP): Encapsulation, Abstraction, Polymorphism
OOP in Python: encapsulation with private attributes and @property, abstraction, polymorphism and why OOP matters in data science.
Read More »Python Classes and Objects with Examples
Python classes and objects: attributes, methods, __init__, self, class vs instance attributes and __str__, with tested examples.
Read More »Python Lambda Functions with map, filter and sorted
Python lambda functions explained with map, filter, reduce, sorting with key and when to use def instead.
Read More »What is Python Programming? Uses, Features and First Program
What Python is, why it is popular, where it is used, how it runs code and your first Python program.
Read More »Python MySQL Installation
Updated: 28 November 2026Level: BeginnerReading time: about 8 minutesPython 3.8+ · MySQL 8 MySQL is one of the most popular relational databases. With the official mysql-connector-python driver, a Python program can create databases, store records and run SQL queries. This is the first tutorial of the Python MySQL series. What …
Read More »Python MYSQL Create Database
Updated: 28 November 2026Level: BeginnerReading time: about 5 minutesPython 3.8+ · MySQL 8 A database is a container for tables. In this tutorial you will create a MySQL database called itronix from Python and check that it exists. Prerequisites Python MySQL Installation. Create a Database Example import mysql.connector mydb = …
Read More »
Machine Learning Tutorials, Courses and Certifications