Learn Python

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

    Histogram Equalization in Python

    Tutorial Beginner

    This tutorial shows how we can enhance the contrast of an image using histogram equalization and implement the method using Python and OpenCV.

  2. How to Write Your Own Python Packages

    How to Write Your Own Python Packages

    Tutorial Intermediate

    Python packages are the building blocks of any Python application, and the community writes and shares lots of amazing packages. Learn how to write your own...

  3. Python 3 Function Annotations

    Python 3 Function Annotations

    Tutorial Intermediate

    The function annotations syntax has been a Python feature since version 3.0, but the semantics of annotations have been left undefined. In this tutorial,...

  4. How to Use Python Packages

    How to Use Python Packages

    Tutorial Intermediate

    In this tutorial, you'll learn all you need to know about what packages are and how to import modules from packages. We'll explore the built-in packages in...

  5. List to Graph: How to Represent Your List as a Graph in Python

    List to Graph: How to Represent Your List as a Graph in Python

    Tutorial Beginner

    This tutorial shows how flexible Python can be when drawing a bar graph for a list of data.

  6. Introducing Python's Matplotlib Library

    Introducing Python's Matplotlib Library

    Tutorial Intermediate

    In this tutorial, I will show you how to create graphs using Python's matplotlib library. I will show you how to install the library, and I'll walk you...

  7. Introduction to Machine Learning in Python

    Introduction to Machine Learning in Python

    Tutorial Beginner

    Machine learning is the act of giving computers the ability to learn without explicitly programming them. In this tutorial, we will talk about machine...

  8. 10 Insanely Useful Django Tips

    10 Insanely Useful Django Tips

    Tutorial Intermediate

    There are quite a few great little tricks and tips you can use in your Django projects that will speed up development and save many headaches in the long...

  9. How to Begin With Test-Driven Development in Python

    How to Begin With Test-Driven Development in Python

    Tutorial Intermediate

    In this tutorial, I will introduce the core concepts of TDD and will provide examples in Python, using the nosetests unit-testing package. I will...

  10. Canny Edge Detector Using Python

    Canny Edge Detector Using Python

    Tutorial Beginner

    This tutorial shows how we can implement the Canny edge detector using Python, through the scikit-image and OpenCV libraries.

  11. Modern Web Scraping With Beautiful Soup and Selenium

    Modern Web Scraping With Beautiful Soup and Selenium

    Tutorial Intermediate

    In this tutorial, you'll learn how the content you see in the browser actually gets rendered and how to go about scraping it when necessary. In particular...

  12. Intro to Flask: Adding a Contact Page

    Intro to Flask: Adding a Contact Page

    Tutorial Beginner

    In the previous article in this mini-series, we used Flask to build a simple website. In this lesson, I'll demonstrate how to add a Contact page that allows...