Python 3 time module

The time module provides a number of time-related functions. Most of the functions found in this module call the platform C library functions behind the scenes with the same name. To import the time module enter...

Read More ...

Pygments Tutorial

Pygments is a very popular and robust Python package to highlight code snippets. Many well-known sites like Wikipedia, BitBucket, Read the Docs etc. are using it. Here are some of the features of Pygments: Supports a wide range of...

Read More ...

How to use Virtualenv ?

What is Virtualenv? # Virtualenv is a handy tool for creating Python Virtual...

Read More ...

Installing MySQL (Windows, Linux and Mac)

MySQL is one of the most used Relational databases on the Web and in this lesson, we will learn how to install it. This post specifically covers how to install MySQL on Windows, Linux and Mac OS.

Read More ...

What is if __name__ == '__main__' in Python ?

The following is the most common pattern that trips people up. if __name__ == '__main__': # some logic here Every Python module defines a variable called...

Read More ...

Page 1 of 2