Skip to content

Tag Archives: Python os-module-programs

A Timestamp is a sequence of characters, that signify the occurrence of an event. Timestamps are required extensively in computer science. This exists of varying… Read More
Linux is one of the most popular operating systems and is a common choice for developers. However, it is difficult to remember the vast range… Read More
In this article, we will create a menu-driven Python program which will execute the required user tool when user will give the input as a… Read More
Have you ever wondered that you can open your drives by just typing C, D or E and then that drives are open.This can be… Read More
A Digital Timestamp is a sequence of characters(usually a combination of digits and delimiters), identifying the time when a certain event occurred. In computer science,… Read More
Uptime is the time elapsed since the Operating system started. Operating systems have discrete mechanisms to keep track of this time, which they further utilize… Read More
Prerequisites: Python GUI – tkinter, os.listdir() method, os.rename() method In this article, the task is to rename a batch of images using Python. Now say… Read More
A process is identified on the system by what is referred to as a process ID and no other process can use that number as… Read More
In this article, we will find the file having the largest size in a given directory using Python. We will check all files in the… Read More
A Process is a program that is being executed (processed). A process may not have to be one run explicitly by the user, it could… Read More
File ID is a unique file identifier used on windows to identify a unique file on a Volume. File Id works similar in spirit to… Read More
Prerequisite: File Handling in Python Given a text file fname, the task is to count the total number of characters, words, spaces and lines in… Read More
The OS module in Python is used for interacting with the operating system. This module comes under Python’s standard utility module so there is no… Read More
Python provides functionality to move files or directories from one location to another location. This can be achieved using shutil.move() function from shutil module. shutil.move()… Read More
The OS module in Python is used for interacting with the operating system. This module comes with Python’s standard utility module so there is no… Read More