Free tutorials

Step-by-step tutorials in Python, WooCommerce and Elementor. Every code example runs in your browser.

Python

Python datetime.now(): A Beginner's Guide to Dates & Times

Have you ever built a Python application and needed to record exactly when something happened? Maybe you're creating a log file, timestamping a user's comment, or tracking the last time someone logge…

29 Oct 2025 · 6 min read
Python

Python Time Module: A Beginner's Guide to Dates & Epoch

Have you ever needed to add a timestamp to a file, schedule a task, or simply display the current date and time in your Python program? If so, you've quickly run into one of programming's most common…

29 Oct 2025 · 6 min read
Python

Python Ternary Operator: A Beginner's Guide to Conditional Logic

Have you ever fallen in love with Python's lambda functions for their simplicity, only to hit a frustrating wall? You're trying to write a compact function that finds the smaller of two numbers, but…

28 Oct 2025 · 6 min read
Python

Functions as Objects: A Beginner's Python Guide

Have you ever thought of a function in Python as more than just a block of code? What if you could store functions in a list, just like you store numbers or strings? If this sounds confusing, don't w…

28 Oct 2025 · 5 min read
Python

Functions as Objects: A Beginner's Python Guide

Have you ever stored a number in a variable? Or appended a string to a list? If so, you're already familiar with working with objects in Python. But what if I told you that the functions you define a…

28 Oct 2025 · 5 min read
Python

Functions as Objects: A Beginner's Python Guide

Have you ever stored a number, a string, or a list in a Python variable? Of course, you have. It's one of the first things you learn. But what if I told you that you can also store an entire function…

28 Oct 2025 · 5 min read
Python

Python Functions as Arguments: A Beginner's Guide

Have you ever wondered if you could use a function as a variable in Python? What if you could send one function into another, just like you would with a number or a string? This might sound like an a…

28 Oct 2025 · 6 min read
Python

Python Magic Methods: A Beginner's Guide to __str__

Have you ever created a custom class in Python, made an object from it, and tried to print it—only to be greeted by a cryptic message like <__main__.Date object at 0x0000012345>? If so, you've encoun…

28 Oct 2025 · 5 min read
Python

Python Getters & Setters: A Beginner's Guide to Accessors

Have you ever created a Python class and later needed to control how its data is changed or viewed? Maybe you wanted to add a check before updating a value or format an output in a specific way. If y…

28 Oct 2025 · 6 min read
Python

Python Inner Classes: A Beginner's Guide to Nested Classes

Have you ever been writing a Python class and thought, "This is getting complex. I wish I could group some of this data together in a more organized way?" Just as we use classes to bundle related dat…

28 Oct 2025 · 5 min read
Python

Python Inner Classes: A Simpler, Cleaner Alternative

Have you ever been working with Python classes and thought, "There has to be an easier way?" If you've dabbled with inner classes—a class defined within another class—you might have found the syntax…

28 Oct 2025 · 5 min read
Python

Python Constructor: A Beginner's Guide to init

Have you ever created a Python class and found yourself repeatedly setting the same initial values for every object? You create a Book object, and then you have to manually set its title, author, and…

27 Oct 2025 · 6 min read