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. Getting Started With the Fabric Python Library

    Getting Started With the Fabric Python Library

    Tutorial Advanced

    Fabric is a Python library and command-line tool for streamlining the use of SSH for application deployment or systems administration tasks. Fabric is very...

  2. Charting Using Plotly in Python

    Charting Using Plotly in Python

    Tutorial Beginner

    In this tutorial, you'll learn how to get started with creating a simple chart in Python using the Plotly library. Plotly.py is an interactive, browser-based...

  3. How I Learned to Stop Worrying and Love the Capitalization Tool

    How I Learned to Stop Worrying and Love the Capitalization Tool

    Tutorial Intermediate

    In this tutorial you'll learn how to automate the browser with Python and Selenium. The combination of Python and Selenium can unlock programmatic access to...

  4. Revisiting Python Packaging With Pipenv

    Revisiting Python Packaging With Pipenv

    Tutorial Intermediate

    Pipenv is now the packaging tool officially recommended by the Python Packaging Authority. In this tutorial you'll learn why Pipenv significantly improves...

  5. Why Are My Mobile Phone Images Rotated on My Desktop?

    Why Are My Mobile Phone Images Rotated on My Desktop?

    Tutorial Beginner

    This article shows how one can analyze the Exif tags (metadata) using Python to learn more about the orientation of an image.

  6. Introduction to Multiprocessing in Python

    Introduction to Multiprocessing in Python

    Tutorial Intermediate

    The multiprocessing package supports spawning processes using an API similar to the threading module. It also offers both local and remote concurrency. This...

  7. Introduction to Mocking in Python

    Introduction to Mocking in Python

    Tutorial Advanced

    Mocking is a library for testing in Python. It allows you to replace parts of your system under test with mock objects and make assertions about how they...

  8. Phoenix I18n

    Phoenix I18n

    Tutorial Intermediate

    Translating an application into multiple languages is crucial if you are serving users from different countries. In this article you will learn what Gettext...

  9. Building Games With Python 3 and Pygame: Part 5

    Building Games With Python 3 and Pygame: Part 5

    Tutorial Intermediate

    In part 5 of this Pygame series, we'll cover diverse topics such as the end game, managing lives and score, sound effects, music and even a flexible special...

  10. Elixir Metaprogramming Basics

    Elixir Metaprogramming Basics

    Tutorial Beginner

    Metaprogramming means a program can analyze itself during runtime or even modify itself. Learn about some of the metaprogramming tools in Elixir.

  11. Building Games With Python 3 and Pygame: Part 2

    Building Games With Python 3 and Pygame: Part 2

    Tutorial Intermediate

    In part 2 of this Pygame series, we'll look at the TextObject class used to render text on the screen, create the main window, learn how to draw objects, and...

  12. Building Games With Python 3 and Pygame: Part 1

    Building Games With Python 3 and Pygame: Part 1

    Tutorial Intermediate

    In this five-part series, I'll show you how to create 2D single-player games using Python 3 and the excellent Pygame framework.