Skip to content

Category Archives: Python

Prerequisite: Pickle Module Python pickle module is used for serializing and de-serializing a Python object structure. Any object in Python can be pickled so that… Read More
The pickle module is used for implementing binary protocols for serializing and de-serializing a Python object structure.   Pickling: It is a process where a Python… Read More
All instances in Python must be instances of a class that derives from BaseException. Two exception classes that are not related via subclassing are never… Read More
Python programming language provides following types of loops to handle looping requirements. Python provides three ways for executing the loops. While all the ways provide… Read More
The copyreg module defines functions which are used by pickling specific objects while pickling or copying. This module provides configuration information about object constructors(may be… Read More
Let’s say you are working on a project that needs to do web scraping but you don’t know websites on which scraping is to be… Read More
This article aims to introduce the use of the python library: qrtools. This library can be used to both read QR codes and generate them.… Read More
This module is used for matching Unix shell-style wildcards. fnmatch() compares a single file name against a pattern and returns TRUE if they match else… Read More
Hangman Wiki: The origins of Hangman are obscure meaning not discovered, but it seems to have arisen in Victorian times, ” says Tony Augarde, author… Read More
Prerequisite: Dictionary 1) What is the output of the following program?  Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.  … Read More
Before seeing what a closure is, we have to first understand what nested functions and non-local variables are.   Nested functions in Python A function that… Read More
Python documentation strings (or docstrings) provide a convenient way of associating documentation with Python modules, functions, classes, and methods. It’s specified in source code that… Read More
This app helps in reminding birthdays and notifying you friend’s birthdays. This app uses Python and Ubuntu notifications to notify users on every startup of… Read More
The secrets module is used for generating random numbers for managing important data such as passwords, account authentication, security tokens, and related secrets, that are… Read More
The textwrap module can be used for wrapping and formatting of plain text. This module provides formatting of text by adjusting the line breaks in… Read More