Category: Python

2020-03-29T11:22:17Z

How to Deploy a React + Flask Project

Welcome to the second part of my "React + Flask" series. In this episode we are going to deploy our project on a production server!

Have you missed the first part of this tutorial? You can find it here.

2020-02-21T11:06:26Z

How To Create a React + Flask Project

One of the questions I get asked more often lately is how to create a project that combines a React frontend with a Flask backend. Instead of giving vague answers I decided to write a tutorial about it, including a video in which I go through the steps to create a simple but fully functional React+Flask project.

26 comments

2019-12-21T18:03:24Z

The Ultimate Guide to Python Decorators, Part III: Decorators with Arguments

This is the third part of my in-depth tutorial on Python decorators. In parts I and II I showed you how to create some useful decorators, but to keep things simple none of the decorator examples you've seen so far accept any arguments. In this installment you will learn how to write decorators that take custom arguments, like any normal Python function.

7 comments

2019-10-31T21:48:36Z

Video: MicroPython Heats My Home

In this video I discuss a little MicroPython based project that I implemented in my home to improve the efficiency of the heating controller.

2019-10-22T15:32:45Z

The Ultimate Guide to Python Decorators, Part II: Altering Function Behavior

Welcome to the second part of my Python decorator series. In the first part I showed you the most basic style of decorators, which are used to register functions as handlers or callbacks for events. In this part I'm going to show you more interesting decorators that alter or complement the behavior of the decorated function.

3 comments

2019-10-14T15:24:42Z

Video: Four SQLAlchemy Tips

Posted by Miguel Grinberg under Database, Python.

7 comments

2019-09-27T11:24:23Z

MicroPython and the Internet of Things, Part VI: Working with a Screen

In this chapter your microcontroller gets an important upgrade with the addition of a screen!

If you want to see me and hear me explain everything in this tutorial, I encourage you to purchase the video version from my Courses site. Not only it will make for a better learning experience, but you'll also be supporting my effort in keeping my blog updated with relevant content. Thank you!

7 comments

2019-09-09T12:07:38Z

Setting Up a Flask Application in Visual Studio Code

As a follow up to my Setting Up a Flask Application in PyCharm article, today I'm going to show you how to set up your project with Visual Studio Code (Code, for short), which is a free and open source integrated development environment from Microsoft with great support for Python. Like I did in the previous article, you can see me going through all the required steps to set up an example project in the video below. After the video, I provide a short written summary of the process.

16 comments

2019-08-24T18:15:27Z

MicroPython and the Internet of Things, Part V: Temperature and Humidity

In this chapter I'm going to show you how to work with a temperature and humidity sensor.

If you want to see me and hear me explain everything in this tutorial, I encourage you to purchase the video version from my Courses site. Not only it will make for a better learning experience, but you'll also be supporting my effort in keeping my blog updated with relevant content. Thank you!

2 comments

2019-07-25T06:54:16Z

MicroPython and the Internet of Things, Part IV: Wi-Fi and the Cloud

In this chapter I'm going to show you how to use the Wi-Fi capabilities of the ESP8266 chip.

If you want to see me and hear me explain everything in this tutorial, I encourage you to purchase the video version from my Courses site. Not only it will make for a better learning experience, but you'll also be supporting my effort in keeping my blog updated with relevant content. Thank you!

7 comments