The Teclado Blog
  • Start Learning Python
  • Store
  • Courses
Jose Salvatierra

Jose Salvatierra

I'm a software engineer turned instructor! I founded Teclado to help me do this for everyone. I hope you enjoy the content!

Edinburgh, UK •
118 posts •
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
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
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
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
Day 30 Project: Snake
30 Days of Python

Day 30 Project: Snake

For today's project we're building the Snake game using pygame! Here we've got the project brief for you, as well as our solution. Enjoy!

    2
    Phil Best / Jose Salvatierra
    11 min read · Apr 30
Day 30: Project Preparation (pygame basics)
30 Days of Python

Day 30: Project Preparation (pygame basics)

In this post we guide you through the fundamentals of pygame, a Python library used to create games. You'll need this knowledge in order to tackle the final project!

    2
    Phil Best / Jose Salvatierra
    12 min read · Apr 30
Day 30: Graduation
30 Days of Python

Day 30: Graduation

Today is the final day in the 30 Days Of Python series! For today, we're covering what sort of things you can do next with Python!

    2
    Phil Best / Jose Salvatierra
    3 min read · Apr 30
Day 29: Exercise Solutions
30 Days of Python

Day 29: Exercise Solutions

Check out the exercise solutions for Day 29: Decorators. Remember to try them on your own first, before reading through this post!

    2
    Phil Best / Jose Salvatierra
    2 min read · Apr 29
Day 29: Decorators
30 Days of Python

Day 29: Decorators

Today we learn about decorators: functions that allow us to extend other functions and make them do more stuff!

    2
    Phil Best / Jose Salvatierra
    10 min read · Apr 29
Day 28 Project: Web Scraping
30 Days of Python

Day 28 Project: Web Scraping

In today's project we learn about web scraping with BeautifulSoup, so that we can extract information from websites using Python!

    2
    Phil Best / Jose Salvatierra
    15 min read · Apr 28
Day 28: Exercise Solutions
30 Days of Python

Day 28: Exercise Solutions

This is our solution to the Type Hinting exercise, where we take a previous project and add type hinting to it! Remember to tackle the exercise yourself, before reading through this post!

    2
    Phil Best / Jose Salvatierra
    7 min read · Apr 28
Day 28: Type Hinting
30 Days of Python

Day 28: Type Hinting

Learn about type hinting, a way to make code easier to understand (and work with!), especially when working with larger codebases!

    2
    Phil Best / Jose Salvatierra
    9 min read · Apr 28
Day 27 Project: Avocados
30 Days of Python

Day 27 Project: Avocados

For today's project we're developing an Avocado data analysis app using pandas! Check out the project brief, and then tackle it before reading through our solution!

    2
    Phil Best / Jose Salvatierra
    10 min read · Apr 27
Day 27: Setting Up a Local Development Environment
30 Days of Python

Day 27: Setting Up a Local Development Environment

Today we learn about installing Python locally and setting up a development environment so that we can move away from repl.it as we start developing larger projects!

    2
    Jose Salvatierra / Phil Best
    7 min read · Apr 27
Day 26: Exercise Solutions
30 Days of Python

Day 26: Exercise Solutions

Here are our solutions for today's exercises on the Python Standard Library! Remember to try these out on your own, before reading through this post!

    2
    Phil Best / Jose Salvatierra
    2 min read · Apr 26
Day 26: Leveraging the Standard Library
30 Days of Python

Day 26: Leveraging the Standard Library

Today we take a look at a few, really useful parts of the Python Standard Library: namedtuple, defaultdict, and partial.

    2
    Phil Best / Jose Salvatierra
    7 min read · Apr 26
Day 25: Exercise Solutions
30 Days of Python

Day 25: Exercise Solutions

Check out today's exercises for "Idiomatic Python"! Remember to tackle them yourself before checking out our solutions!

    2
    Phil Best / Jose Salvatierra
    3 min read · Apr 25
Day 25: Writing Idiomatic Python
30 Days of Python

Day 25: Writing Idiomatic Python

What is Pythonic code? What Python idioms can we use to make our code more readable and 'Pythonic'? Learn all about it in today's post!

    2
    Phil Best / Jose Salvatierra
    8 min read · Apr 25
Day 24 Project: Dice Roller
30 Days of Python

Day 24 Project: Dice Roller

In today's project, we create a dice-rolling application that outputs to a file and is easily reconfigurable by users. Check it out!

    2
    Phil Best / Jose Salvatierra
    13 min read · Apr 24
Day 24: Exercise Solutions
30 Days of Python

Day 24: Exercise Solutions

These are the solutions to our exercises for Day 24: Advanced Exception Handling! Remember to try out the exercises yourself before checking our solutions!

    2
    Phil Best / Jose Salvatierra
    4 min read · Apr 24
Day 24: Advanced Exception Handling and Raising Exceptions
30 Days of Python

Day 24: Advanced Exception Handling and Raising Exceptions

Today we look at more exception handling as well as how to raise our own so that we can control the flow of our programs better with them!

    2
    Jose Salvatierra / Phil Best
    8 min read · Apr 24
Day 23: Exercise Solutions
30 Days of Python

Day 23: Exercise Solutions

These are our exercise solutions for the Day 23: Generators and Generator Expressions. Remember to try the exercises out yourself before reading through our solutions!

    2
    Phil Best / Jose Salvatierra
    9 min read · Apr 23
The Teclado Blog © 2022
Privacy Policy