Asif Rahaman has Published 58 Articles

How to Get the list of Running Processes using Python?

Asif Rahaman

Asif Rahaman

Updated on 18-Jul-2023 14:01:34

8K+ Views

The operating system runs with hundreds of tasks/process at a single time. As a Python developer, this is important because often while dealing with programs that consume huge amounts of memory, we may want to delete some unimportant tasks. This article will explore how to get the running process list ... Read More

How to Get the Last N characters of a String in Python

Asif Rahaman

Asif Rahaman

Updated on 18-Jul-2023 13:59:46

5K+ Views

String Manipulation is an important task in Python. This may involve slicing the string, taking N characters, etc. These are essential tasks in Text preprocessing, like in NLP tasks, Password and data security, string comprehension and encoding, etc. Fortunately, Python offers a variety of ways to perform string manipulation. In ... Read More

How to Get the First Element in List of Tuples in Python?

Asif Rahaman

Asif Rahaman

Updated on 18-Jul-2023 13:57:02

2K+ Views

Tuples are immutable data types in Python that can hold heterogeneous data types. List, on the other hand, are multiple data types that can hold heterogeneous data. In this article, we will explore various methods to retrieve the first element from a list of tuples using function−based components. We will ... Read More

Get the list of Files in a Directory with Size using Python

Asif Rahaman

Asif Rahaman

Updated on 18-Jul-2023 13:54:39

2K+ Views

Directories are special kind of nodes in the computer system that contains other nested folders, files, etc. To list down the directories, we need special libraries or modules of Python like os module, glob module, etc. They also provide us the methods to access the size of the directory. The ... Read More

Get the List of Files in a Directory Sorted by Size Using Python.

Asif Rahaman

Asif Rahaman

Updated on 18-Jul-2023 13:52:54

628 Views

Directory contains special nodes in computer paths that hold information about other nested paths but do not contain any information. Since they contain files and other directories, they have some size. Sorting by size means ordering the directories in terms of the space occupied by the directories in the disks. ... Read More

Get Month from year and weekday using Python

Asif Rahaman

Asif Rahaman

Updated on 18-Jul-2023 13:50:49

792 Views

Dealing with time is one of the most important aspects of any day−to−day activity. In this article, we will discuss how to get month from year and weekday using Python. We will utilize Python's two most popular libraries, namely calendar, and datetime, to deal with the months, year, s, etc. ... Read More

Get Confirmed, Recovered, Deaths cases of Corona around the globe using Python

Asif Rahaman

Asif Rahaman

Updated on 18-Jul-2023 12:54:10

86 Views

The covid pandemic has impacted billions of life all over the world. The pandemic led to widespread concern among the people. Several applications were built to determine and get accurate information about the total number of deaths, recovered cases, confirmed cases, etc. Fetching and analyzing this information is important for ... Read More

Get Hardware and System information using the Python Platform Module.

Asif Rahaman

Asif Rahaman

Updated on 18-Jul-2023 12:51:24

803 Views

Python is a versatile language that was built as a general−purpose scripting language. Hence a lot of automation tasks, along with scripting, can be done. Getting the system information becomes an important task in many applications such as machine learning, deep learning, etc., where hardware plays a crucial role. Python ... Read More

Finding the Last business day of Every Month in a Year using Python

Asif Rahaman

Asif Rahaman

Updated on 18-Jul-2023 12:21:10

1K+ Views

Business days are known as working day in corporate sector, in some sector it is Monday to friday and in some they are Monday to Saturday. In this article we will understand how to find the last business day of every year using Python. Python offers various libraries like datetime, ... Read More

How to call web services in HTML5?

Asif Rahaman

Asif Rahaman

Updated on 17-Apr-2023 16:58:17

2K+ Views

Introduction Calling web services is one of the most commonly used services over the web. It refers to the way of communicating with the software systems. This communication can be between the clients with the server, peer-to-peer, etc. HTML5, the latest version of HTML, provides A LOT OF WAYS LIKE ... Read More

Advertisements