How to create a computer virus in Python

I was relaxing on a beach during my summer leave when I received a mail from a reader that asked me if it is technically possible to write a virus using Python.The short answer: YES.The longer answer: yes, BUT…Let’s start by saying that viruses are a little bit anachronistic … | Continue reading


@thepythoncorner.com | 2 years ago

Python Hash Tables: understanding dictionaries

Dictionaries are a really important part of Python but how can they be so fast and reliable? The answer is about Hash Tables… | Continue reading


@thepythoncorner.com | 3 years ago

Creating command-line interfaces in Python with Argparse

If you have ever written a script in Python you surely know the importance of having a good command-line interface for your application. And this is why | Continue reading


@thepythoncorner.com | 4 years ago

How to create a watchdog in Python

Hey guys, I’m back! And for the ones of you that have asked me what happened to The Python Corner… long story short: no panic, I’m not dead (yet). I’ve been just very busy w… | Continue reading


@thepythoncorner.com | 5 years ago

How to create a Windows service in Python

Hi guys, today’s post is just for the ones of you that work with the “OS of the misoriented slashes”: Microsoft Windows. :) Have ... | Continue reading


@thepythoncorner.com | 5 years ago

Object serialization in Python

Today we’re going to explore a wonderful feature that the Python library offers to you out of the box: the serialization. To serialize an o... | Continue reading


@thepythoncorner.com | 5 years ago

Using virtual environments in Python

Working with Python is like to have superpowers. When you need to do something and you don’t know where to start from, you can google your ... | Continue reading


@thepythoncorner.com | 5 years ago

Lambdas and Functions in Python

In my last post I discussed some ways to avoid nested code in Python and discussing the ” filter ” and ” map ” functions I mention... | Continue reading


@thepythoncorner.com | 5 years ago