Python Tutorials and Insights

Learn how to use Python for web development, data science, machine learning, and more! Read the latest Python tutorials and insights from top developers.

GET STARTED

Python tutorials, posts, and more

Customizing your Navigation Drawer in Kivy & KivyMD

In this tutorial, we will learn how to customize a navigation drawer using Python, Kivy, and KivyMD.
Customizing your Navigation Drawer in Kivy & KivyMD

How to Integrate Custom Rich Text-Editor in Django

Tutorial to implement Rich Text Editor in Django application.
How to Integrate Custom Rich Text-Editor in Django

How to Scrape an AJAX Website using Python

This tutorial will teach you how to catch AJAX calls and reproduce them using the requests library and the Google Chrome browser.
How to Scrape an AJAX Website using Python

Creating Custom Template Tags In Django Application

The power of custom template tags is that you can process any data and add it to any template regardless of the view executed. You can perform QuerySets or process any data to display results in your templates.
Creating Custom Template Tags In Django Application

How to Send Mail in Python with Web2py

In this tutorial, we will learn how to implement Web2py’s send.mail() to set up or configure emails and finally show how to send emails to users.
How to Send Mail in Python with Web2py

Building a Chatbot using Telegram and Python (Part 1)

In this tutorial, we'll walk through building a simple Telegram Bot using Python. At first, our bot will simply echo back any message we send it, but then we'll extend it to add a database and persist information across chat sessions.
Building a Chatbot using Telegram and Python (Part 1)

An Introduction to Python Machine Learning with Perceptrons

This article will guide you through creating a perceptron in Python without any advanced mathematical theory, and in less than 60 lines of code.
An Introduction to Python Machine Learning with Perceptrons

Building a Chatbot using Telegram and Python (Part 2): Adding a SQLite Database Backend

In this tutorial, we'll add a SQLite database backend to our Telegram bot and allow it to remember information for specific users indefinitely. We'll build a simple To Do list that allows users to add new items or delete existing ones.
Building a Chatbot using Telegram and Python (Part 2): Adding a SQLite Database Backend

How to Run Python and Ruby on Heroku with Multiple Buildpacks

The aim of this article is to try to show how I handled a mentee's request and let you know about how to run multiple-buildpacks on Heroku.
How to Run Python and Ruby on Heroku with Multiple Buildpacks

How to Build a Python Media Player using LibVLC and GTK+

In this tutorial, we shall learn how to create a multimedia app in Python with the help of LibVLC and GTK+ which plays media when its starts. App users will also be able to control basic playback options.
How to Build a Python Media Player using LibVLC and GTK+

Laser Cutting with Python

Wouldn't it be cool that apart from making apps, you can also produce physical things with your coding skills? This basic tutorial will show you how you can use the Python turtle library to create shapes ready for laser cutting!
Laser Cutting with Python

Using Docker and Docker Compose for Local Development and Small Deployments

In this tutorial, I’ll introduce Docker, what all the hype has been about, what advantages it can give you, and how you can get started using it for you development projects.
Using Docker and Docker Compose for Local Development and Small Deployments

Asynchronous Tasks using Celery with Django

With the help of Celery with Django, a user's experience can improve dramatically. Here's how to make asynchronous tasks work in your app or website!

Image Manipulation in Python

Image filters are not only something we use to make our pictures on social networking sites look cool, they are useful and powerful techniques for processing videos and images not only for printing in an offset; but also to compress and improve playback and speed of on-demand services.
Image Manipulation in Python

User-Defined Functions in Python

In this article, we will focus on the user-defined functions in Python. To completely understand the concept, we will learn how they can be implemented by writing code examples.

How to make a Sandwich using Python Context Manager

Enter, Python context manager! They contain the magic sauce for our sandwich, which also abstracts resource management, and aids you in writing clean code.
How to make a Sandwich using Python Context Manager

15 Essential Python Interview Questions

Looking for a Python job? Chances are you are going to need prove that you know how to work with Python. Here are a couple of questions that cover a wide base of skills associated with Python.
15 Essential Python Interview Questions

10 Neat Python Tricks Beginners Should Know

Here are 10 potentially useful Python tricks beginners might not know.
10 Neat Python Tricks Beginners Should Know

Python Quick Tip: Simple ThreadPool Parallelism

Parallelism isn’t always easy, but by breaking our code down into a form that can be applied over a map, you can easily adjust it to be run in parallel. Learn how through this quick tip!
Python Quick Tip: Simple ThreadPool Parallelism

Simple Python Snake Game using Curses

Snake is a game where the player maneuvers a line which grows in length, with the line itself being a primary obstacle. Here's a quick tutorial on how to build a snake game with Python.
Simple Python Snake Game using Curses

Subscribe to our weekly newsletter

YOU MAY ALSO BE INTERESTED IN

Share ideas
with an editor
built for developers

LEARN MORE