The Teclado Blog
  • Start Learning Python
  • Courses

->Kickstart your coding journey|

All Posts • Coding Interview Problems • Flask • GUI Development • Learn Python Programming • Python Snippets • REST APIs • Understanding the Console • Web Development
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
How to Add API Key Authentication to a Flask app
REST APIs

How to Add API Key Authentication to a Flask app

Learn how to add API key authentication to your Flask apps using Flask-RESTful and SQLAlchemy.

    Jose Salvatierra
    4 min read · Mar 17
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
Build a blog platform with Flask: writing and showing posts
Flask

Build a blog platform with Flask: writing and showing posts

Part 1 of this series to guide you through building a blog using Flask and Python! In this post you'll learn how to start your Flask app, set up a database, and create posts.

    Jose Salvatierra
    9 min read · Sep 21
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
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
How to add placeholders to Tkinter Entry fields
GUI Development

How to add placeholders to Tkinter Entry fields

Native Tkinter Entry fields don't support placeholders. In this blog post we'll create our own custom Entry widget class that does!

    Jose Salvatierra
    5 min read · Nov 12
How to set up a server using AWS
REST APIs

How to set up a server using AWS

Amazon Web Services is one of the most popular choices for cloud computing nowadays. It can be quite confusing though! In this blog post we'll learn how to provision a server that we can access using SSH.

    Li Yin
    7 min read · Oct 24
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
Scrollable Frames in Tkinter
GUI Development

Scrollable Frames in Tkinter

In this post we'll learn how to code a frame that has scrolling, in Tkinter. This is not a native widget in Tkinter so we have to do a bit of manual work!

    Jose Salvatierra
    5 min read · Oct 10
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
Decimal vs float in Python
Learn Python Programming

Decimal vs float in Python

When working with fractions in Python, we tend to use floats, but we also have the decimal module. Learn how to use it, and its benefits over floats.

    Phil Best
    8 min read · Oct 3
Python's format Function
Python Snippets

Python's format Function

You may be familiar with Python's format method, but what about the format function? Learn to use Python's formatting language without string interpolation!

    Phil Best
    2 min read · Sep 30
How to interact with REST APIs from JavaScript
Web Development

How to interact with REST APIs from JavaScript

Learn how to use JavaScript to interact with your REST APIs, using XMLHttpRequest and also fetch.

    Jose Salvatierra
    5 min read · Sep 26
Python's Partition Method for Strings
Python Snippets

Python's Partition Method for Strings

In this post we cover a lesser known string method called partition. It has a lot of similarities to split, but there are some interesting differences.

    Phil Best
    2 min read · Sep 23
The Teclado Blog © 2025
Privacy Policy