Categories
Python Programming

Python sleep()

The sleep() function suspends (waits) execution of the current thread for a given number of seconds. Python has a module […]

Categories
Python Programming

Python time Module

In this article, we will explore time module in detail. We will learn to use different time-related functions defined in […]

Categories
Python Programming

Python timestamp to datetime and vice-versa

In this article, you will learn to convert timestamp to datetime object and datetime object to timestamp (with the help […]

Categories
Python Programming

Python Get Current time

In this article, you will learn to get current time of your locale as well as different time zones in […]

Categories
Python Programming

How to get current date and time in Python?

In this article, you will learn to get today’s date and current date and time in Python. We will also […]

Categories
Python Programming

Python strptime()

In this article, you will learn to create a datetime object from a string (with the help of examples). The […]

Categories
Python Programming

Python strftime()

In this article, you will learn to convert date, time and datetime objects to its equivalent string (with the help […]

Categories
Python Programming

Python datetime

In this article, you will learn to manipulate date and time in Python with the help of examples. Python has […]

Categories
Python Programming

Python RegEx

In this tutorial, you will learn about regular expressions (RegEx), and use Python’s re module to work with RegEx (with […]

Categories
Python Programming

Python @property decorator

In this tutorial, you will learn about Python @property decorator; a pythonic way to use getters and setters in object-oriented […]