Posts From Python Modules

Modules is one of the best feature of Python. Except some core modules, you can install what you need and keep your Python setup smooth.

Getopt module Line Option Parser

Command Line Arguments – getopt module

Hey folks! In this article, we will understand the getopt module which supports command line arguments. So, let’s get started. What is the getopt module? The getopt module is a parser for command-line arguments that supports the same functionality as the Unix getopt() function. Its API is designed similar to the C getopt() function. In […]

Dateutil Poster Min

The dateutil module in Python

While working with scripts that require real-time data, we work with the dateutil module in order to schedule or retrieve data at a particular time, or just input data with the timestamp of retrieval. Working with a lot of scripts and trying to manipulate date and time formats using the default datetime module could be […]

Pytorch Min

PyTorch – An Easy Beginner’s Reference

Making its debut a short four years ago, PyTorch is one of the modules that took the data science industry by storm. Providing the users with well-documented code, tutorials, and examples to get started working with PyTorch, it was a huge hit in the eyes of data scientists and researchers alike. The creators of PyTorch […]

Multiprocessing In Python

Multiprocessing In Python

Hey guys! In this article, we will learn about multiprocessing in Python. So, let’s get started. What is multiprocessing? Multiprocessing is a package in python that supports the ability to spawn processes that make use of a Python API. It similar to the threading module in Python. Understanding Multiprocessing in Python A multiprocessor is a […]

Python Tarfile Module

The tarfile Module – How to work with tar files in Python?

In this tutorial, we will see what tar files are and we will try to create and manipulate tar files with tarfile module of python programming language. In this article, we’ll see how to: Create a tar file using the tarfile module Add and append files to the tar files Get the list of files […]

Python Zipfile Module

zipfile Module – Working with ZIP files in Python.

In this tutorial, we will see what zip files are and we will implement  code in python to automate working with zip files with the zipfile module. We will see how to create compressed and uncompressed  zip files and extract files from zip files. We will also see how to append new files to already created […]