Learn Python

Master the Python programming language! Learn how to use Python for data analysis and automation, and discover useful frameworks like Django.

All Python tutorials:

  1. Creating a Web App From Scratch Using Python Flask and MySQL: Part 2

    Creating a Web App From Scratch Using Python Flask and MySQL: Part 2

    Tutorial Intermediate

    In the previous part of this series, we saw how to get started with Python Flask and MySQL and implemented the user registration portion of our application....

  2. Sending Emails in Python With SMTP

    Sending Emails in Python With SMTP

    Tutorial Intermediate

    This tutorial will give an introduction to SMTP, a Python module used for sending mail. It will also demonstrate how to send different email types like...

  3. Beginner's Guide to the Django Rest Framework

    Beginner's Guide to the Django Rest Framework

    Tutorial Beginner

    The Django Rest Framework provides powerful model serialization, displays data using standard function-based views, or gets granular with powerful...

  4. Mathematical Modules in Python: Random

    Mathematical Modules in Python: Random

    Tutorial Intermediate

    This module implements pseudo-random number generators for various distributions. In this tutorial, you will learn about different ways of generating random...

  5. Building RESTful APIs With Flask: The DIY Approach

    Building RESTful APIs With Flask: The DIY Approach

    Tutorial Beginner

    Build powerful RESTful APIs with Flask. In this tutorial, you'll learn a class-based approach to do it all by yourself, for people who prefer to have more...

  6. Creating a Web App From Scratch Using Python Flask and MySQL

    Creating a Web App From Scratch Using Python Flask and MySQL

    Tutorial Intermediate

    In this series, we'll be using Python, Flask, and MySQL to create a simple web application from scratch. It will be a simple bucket list application where...

  7. How to Merge Two Python Dictionaries

    How to Merge Two Python Dictionaries

    Tutorial Beginner

    Learn how to merge two dictionaries using Python, either through the update( ) method or through a single expression.

  8. Mathematical Modules in Python: Math and Cmath

    Mathematical Modules in Python: Math and Cmath

    Tutorial Intermediate

    In this tutorial, you will learn about math and cmath. These two Python modules give us access to a lot of mathematical functions and allow us to work with...

  9. Python From Scratch: Create a Dynamic Website

    Python From Scratch: Create a Dynamic Website

    Tutorial Beginner

    We’ve covered quite a bit of Python in the previous tutorials in this series. Today, we’re going to combine everything we’ve learned so far to build a...

  10. Scraping Webpages in Python With Beautiful Soup: The Basics

    Scraping Webpages in Python With Beautiful Soup: The Basics

    Tutorial Intermediate

    In this tutorial, you will learn how to scrape webpages for titles, headlines, and links using the Beautiful Soup library.

  11. Compressing and Extracting Files in Python

    Compressing and Extracting Files in Python

    Tutorial Intermediate

    Python allows us to do a lot of interesting things very easily using modules. This tutorial will teach you how to compress and extract files using the...

  12. Getting Started With Django: Newly Updated Course

    Getting Started With Django: Newly Updated Course

    Tutorial Beginner

    Learn how to use the powerful Django framework to create your own web apps in our freshly updated course, Getting Started With Django.