The Teclado Blog
  • Start Learning Python
  • Courses

Learn Python Programming

A collection of 89 posts

All Posts • Coding Interview Problems • Flask • GUI Development • Learn Python Programming • Python Snippets • REST APIs • Understanding the Console • Web Development
VSCode for Django Development in 2024
Learn Python Programming

VSCode for Django Development in 2024

Setting up Visual Studio Code for Django is straightforward! There are just a few extensions we recommend, and then you'll be good to go.

    Jose Salvatierra
    3 min read · Apr 1
Introduction to pytest: A Beginner's Guide
Learn Python Programming

Introduction to pytest: A Beginner's Guide

Add tests to your Python code with pytest. Let me show you how to write simple, effective tests!

    Jose Salvatierra
    15 min read · Apr 3
How to use pyenv to manage Python versions
Learn Python Programming

How to use pyenv to manage Python versions

If you need to install multiple Python versions, going the ol' installer route isn't the best idea. In this article I show you how I manage multiple Python versions, using pyenv.

    Jose Salvatierra
    3 min read · Nov 28
How to run tasks periodically in Render.com
Learn Python Programming

How to run tasks periodically in Render.com

Have you ever had to run some code every hour, or every day, or every week? In this article I'll show you how to set it up, to run in the cloud, very easily!

    Jose Salvatierra
    3 min read · Oct 24
How to upload files to Backblaze B2 using Python
Learn Python Programming

How to upload files to Backblaze B2 using Python

If your web app handles user uploads, you need a place to store the files. This article shows you how to set up Backblaze B2, a cloud storage service, to store any uploaded files using Python.

    Jose Salvatierra
    8 min read · Oct 20
Time Complexity and BigO Notation explained with Python
Learn Python Programming

Time Complexity and BigO Notation explained with Python

Understanding time complexity and BigO notation helps us write better and more efficient algorithms. In this post we explain the different time complexities with Python examples!

    Burak Üren
    6 min read · Sep 5
Python lists: remove() vs pop()
Learn Python Programming

Python lists: remove() vs pop()

To remove items from a list we can use remove() or pop(). They behave slightly differently, so let's take a look!

    Luka Milivojevic
    4 min read · Aug 24
The @property decorator in Python
Learn Python Programming

The @property decorator in Python

The property decorator allows us to define methods that act as attributes in Python classes. This simplifies using the objects, and extends what we can do when getting and setting attribute values.

    Jose Salvatierra
    6 min read · May 12
How to simplify long if statements in Python
Learn Python Programming

How to simplify long if statements in Python

When Python if statements grow, they become difficult to work with. Learn how to simplify them using match-case and dictionaries in this post!

    Jose Salvatierra
    3 min read · Apr 29
Basics of Python a Beginner Should Know - Part 1
Learn Python Programming

Basics of Python a Beginner Should Know - Part 1

Learn some of the main building blocks of Python in this post! Including indentation, comments, operators, and conditionals.

    Saurav Jain
    6 min read · Apr 20
Changes to async event loops in Python 3.10
Learn Python Programming

Changes to async event loops in Python 3.10

Python 3.10 deprecated a frequently-used function in the asyncio library. In this post we explain what the new best practice is and how to change your code to use it.

    Jose Salvatierra
    1 min read · Mar 3
Using "match...case" in Python 3.10
Learn Python Programming

Using "match...case" in Python 3.10

Learn about the new "match...case" syntax in Python 3.10, and how you can use it with a bunch of examples!

    Jose Salvatierra
    5 min read · Feb 23
Introduction to Object-Oriented Programming in Python
Learn Python Programming

Introduction to Object-Oriented Programming in Python

Object-Oriented Programming can be very confusing. In this post we explain it from the ground up, using examples, to show you how and when to use it.

    Vlad Dragusanu
    14 min read · Dec 6
Dictionary Merge and Update Operators in Python 3.9
Learn Python Programming

Dictionary Merge and Update Operators in Python 3.9

Python 3.9 introduced two new operators for dictionary merging and updating. Learn more about them, as well as other places where you can use them!

    Vlad Dragusanu
    6 min read · May 4
Working with Python virtual environments: the complete guide
Learn Python Programming

Working with Python virtual environments: the complete guide

Working with dependencies is a fact of life. With this post, learn about dependency management in Python using virtual environments!

    Jose Salvatierra
    6 min read · Apr 28
How to Write Cleaner Python Code Using Abstract Classes
Learn Python Programming

How to Write Cleaner Python Code Using Abstract Classes

What are Abstract Classes? When are they useful? When should you use them? Let's take a look!

    Petar Marković
    5 min read · Feb 18
30 Days Of Python
Learn Python Programming

30 Days Of Python

30 Days Of Python is a series that guides you through the initial stages of learning to code with Python. Totally free, with dozens of exercises and projects to complete!

    2
    Jose Salvatierra / Phil Best
    2 min read · Mar 28
Marshmallow serialization with MongoDB and Python
Learn Python Programming

Marshmallow serialization with MongoDB and Python

In this blog post we'll learn how to use the marshmallow library to serialize and deserialize data coming from both users and MongoDB!

    Jose Salvatierra
    8 min read · Mar 26
Work with dates and times in Python using datetime
Learn Python Programming

Work with dates and times in Python using datetime

Dates and times are essential in programming, but they come with complications: parsing and serializing, storing in databases, and working with timezones among others. Read this post to learn more about how to work with dates and times in Python effectively!

    Jose Salvatierra
    8 min read · Mar 18
How to add Menus to Tkinter applications
GUI Development

How to add Menus to Tkinter applications

Learn how to add menus to your GUI applications using Tkinter's Menu widget!

    Phil Best
    7 min read · Dec 22
Process or Thread, that is the question
Learn Python Programming

Process or Thread, that is the question

When should you use processes and threads in Python? How can you make use of all your CPU has to offer? In this post we explore a few techniques to improve performance, easily.

    Li Yin
    6 min read · Dec 18
Assignment expressions in Python
Python Snippets

Assignment expressions in Python

Learn about Python's new assignment expression syntax and walrus operator. Assignment expressions can cut down on boilerplate code and improve efficiency!

    Phil Best
    4 min read · Oct 21
Writing Clean Python
Learn Python Programming

Writing Clean Python

In this post we talk about some tips and techniques for writing clean, readable Python. Avoid common style mistakes and write beautiful Python code!

    Phil Best
    12 min read · Oct 17
Python's namedtuples
Python Snippets

Python's namedtuples

Learn how to use the collection module's namedtuples to make your Python code even more clear and readable!

    Phil Best
    3 min read · Oct 14
Python's divmod Function
Python Snippets

Python's divmod Function

Learn all about Python's divmod function, which allows us to easily perform floor division and modulo operations in one go!

    Phil Best
    3 min read · Oct 7
The Teclado Blog © 2025
Privacy Policy