The Sunday tip #2: Measuring Python code performance with the timeit module
Good code is also code that performs well, here’s how you can measure your code’s performance in Python
Good code is also code that performs well, here’s how you can measure your code’s performance in Python
Did you know that Python compiler optimize your program caching small integers?
Are you sure that you are installing Python right?
Is it possible to create a self-replicating virus in Python? In this article, we’ll find out…
Creating a Telegram bot in Python couldn’t be easier. Don’t you believe me? Have a look at this article and let’s write our first bot in minutes!
Decorators are a powerful feature that Python offers out of the box to write better and reusable code. Do you know them?
Formatting a string is an easy operation in Python that almost any developer can do. But are you sure you’re doing it right?
Dictionaries are a really important part of Python but how can they be so fast and reliable? The answer is about Hash Tables…
In this article we proudly present our friends of Manning Pubblication and … we have a special gift for you!
In this tutorial, you will learn how to work with EBCDIC code in Python
In this tutorial, you will learn how to represent geographic data in Python using Jupiter Notebook and folium
Did you know that Python is one of the best programming languages to be used if you want to work with JSON?
A special article from Andrew Zapisotskyi of mailtrap about sending emails from your Python App
In this article, we’ll discuss how to implement a watchdog in Python that monitors a file system to automatically take actions when a change occurs.
Can we create a Python Windows service that starts at boot and can be controlled like any other standard Windows service? Yes, we can.
Did you know you can make your application lot faster just with a couple lines of code and a local cache?
Let’s talk about when to use generators in Python
How lambdas can improve your code’s readability and maintainability
The fifth statement of Tim Peter’s “Zen of Python” is: “Flat is better than nested”. So, let’s explore some tips to make our code flatter and avoid nested co...
Do you always write log routines to make your program be verbose in the production environment? No? Well, you’d better have a look at this article.
In this article, we will see how to create a FUSE filesystem in Python. Don’t worry, it’s easier than you thought,
To know how exception works in Python is really important. Exceptions are not just used to control the program’s errors but also to manage the program’s flow...
“Metaclasses are deeper magic than 99% of users should ever worry about. If you wonder whether you need them, you don’t”. That’s what Tim Peters once said. B...
Let’s have a quick look at the news about Python 3.6!
In this post, we will learn to serialize objects for storing the state of an object and cloning objects. Cool stuff, right?
virtualenv, virtualenv-wrapper, pyvenv, python3 -m venv… What are they? Here you will find everything you need to know about virtual environments in Python!
Let’s start using iterators and generators in Python
Automation and web test. The Pythonic way.
Opening a file on Windows with Python without locking it could be tricky. I’ve lost a couple of hours on trying to understand how do it. If you want to save ...