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!

Building a desktop notification tool using python

A simple post on how to build desktop notifiers using python.
Building a desktop notification tool using python

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...

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 vs Ruby on Rails

DDI Development team has compared features and unique advantages of the Django and Ruby on Rails frameworks. If you’re still unsure about which tool to choose to build your startup or you're considering what to learn next, this material may give you some clues. Meet Django vs Ruby on Rails
Django vs Ruby on Rails

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

Django vs. Flask

Django and Flask: how do they compete as the Python based frameworks? We’ve collected some facts and suggested common use cases that help to make the right choice when deciding the tool to start your next project.
Django vs. Flask

End-to-End Self-Driving Car Using Behavioral Cloning

Using a behavioral cloning deep learning model in Keras, I teach a car to drive around a track in a simulator.
End-to-End Self-Driving Car Using Behavioral Cloning

New Jupyter Client Released

A new implementation of the Jupyter notebook with realtime synchronization, written using React.js.
New Jupyter Client Released

Some Python libraries and snippets

*There are a bunch of standard and third-party Python libraries that are useful, but rarely used by beginners and even intermediate users of Python. This post highlights a few of my favourite libraries...

Binary Search: Beyond Arrays

An introduction to solving equations — logarithmic, exponential, polynomial etc. - using binary search.
Binary Search: Beyond Arrays

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

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

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

Effective Debugging, with Python and Print Statements

What should you do if your code doesn't work? Here's a tutorial to teach you how to debug effectively with Python and Print Statements.
Effective Debugging, with Python and Print Statements

6 Useful Python Libraries Recommended by #1 Stack Overflow Answerer

The article shared some of the less=well known libraries that #1 Stack Overflow answerer likes to user for web development or daily tasks.

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

Python 2.7 vs Python 3.4 ─ What should Python Beginners choose?

Read our write-up on our Live webinar with Codementor Python expert and Stack Overflow legend— Martijn Pieters. In this post, you'll learn the difference between Python 2.7 and Python 3.4, and what should Python beginners choose.

Python Framework Comparison: Django vs. Pyramid

Comparing Python frameworks? Here's a round-up of the differences between two popular frameworks— Django and Pyramid
Python Framework Comparison: Django vs. Pyramid

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