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

Some tricky Python snippets that may bite you off!

A collection of subtle and tricky Python examples
Some tricky Python snippets that may bite you off!

Reverse Geocoding

I was recently working on a location based analysis with a client where we had a few records with invalid zipcodes. We did, however, have Latitude and Longitude for each of those records. This got...

Design Simple Dialog Using PyQt5 Designer Tool

This articles talks about designing simple dialog using PyQt5 designer tool and the convert and integrate it in python.
Design Simple Dialog Using PyQt5 Designer Tool

How to run a script as a background process?

A simple demonstration on how to run a script as a background process in a Debian environment.
How to run a script as a background process?

A Dive Into Python Closures and Decorators - Part 2

In previoust post (https://www.codementor.io/moyosore/a-dive-into-python-closures-and-decorators-part-1-9mpr98pgr), we talked about local functions, closures and quickly looked into basic...
A Dive Into Python Closures and Decorators - Part 2

Django Allauth Tutorial | Social logins

A tutorial on how to build a small Django website having features of Login with Facebook Login with Google Custom User model.
Django Allauth Tutorial | Social logins

Using Django with Elasticsearch, Logstash, and Kibana (ELK Stack)

Using Django with Elasticsearch, Logstash and Kibana
Using Django with Elasticsearch, Logstash, and Kibana (ELK Stack)

Building an Hello World Application with Python/Django

Read this beginner-friendly post to get started with using Django to build web projects!
Building an Hello World Application with Python/Django

How I Built a Reverse Image Search with Machine Learning and TensorFlow: Part 3

This third part of these posts focuses on app development for my machine learning and TensorFlow reverse image search.
How I Built a Reverse Image Search with Machine Learning and TensorFlow: Part 3

Classifying Traffic Signs

Using TensorFlow I train a Convolutional Neural Network to classify traffic signs with 95% accuracy.
Classifying Traffic Signs

A Dive Into Python Closures and Decorators - Part 1

We will be looking at local functions, the concepts of closure and what decorators are, sounds like a lot? Then let's dive into it.
A Dive Into Python Closures and Decorators - Part 1

How I Built a Reverse Image Search with Machine Learning and TensorFlow: Part 2

For this post, I’m going to dive into model development. I’m using an autoencoder model with 6 encoding and 6 decoding layers.
How I Built a Reverse Image Search with Machine Learning and TensorFlow: Part 2

Texture management in Kivy using atlas

We will look at how to use atlas files to manage textures in kivy and creating one of our own.
Texture management in Kivy using atlas

Visualize News Word Cloud using Python, Flask and JQCloud

In this post you will learn to consume a RESTful API, build a word cloud using NLTK and aslo to visualize it using JQCloud library.
Visualize News Word Cloud using Python, Flask and JQCloud

Downloading Files from URLs in Python

This post is about how to efficiently/correctly download files from URLs using Python. I will be using the god-send library requests for it.
Downloading Files from URLs in Python

Building a Basic RestFul API in Python

Creating a basic REST API in Python using Flask Framework
Building a Basic RestFul API in Python

Python & Django Beginner's Pack: Books, Tutorials, Newsletters etc.

Want to learn Python & Django? Look no further — here's a list of basic and advanced books, tutorials, newsletters, etc. to help you become a Python & Django master!
Python & Django Beginner's Pack: Books, Tutorials, Newsletters etc.

An Illusion of mastery

Advice on convincing yourself you don't know enough about programming.
An Illusion of mastery

Working With Class Based Views In Django

This is an attempt to breakdown Django Class Based Views into a less complex module for beginners in Django.
Working With Class Based Views In Django

Flask vs. Django: Why Flask Might Be Better

Flask is simple, flexible and unopinionated while Django is all-inclusive. Read this brief and practical comparison of Flask and Django and find out why Flask might be more fitting for you!
Flask vs. Django: Why Flask Might Be Better

Get curated posts in your inbox

Read more posts to become a better developer

YOU MAY ALSO BE INTERESTED IN

Share ideas
with an editor
built for developers

LEARN MORE