psutil (Process and System Utilities) –
It is useful mainly used for system monitoring, profiling and limiting process resources and management of running processes.
psutil library used for retrieving information on running processes and system utilization (CPU, memory, disks, network, sensors) in Python.
Example –
os (Operting system and system resources) –
It is mainly used for working operating system resources and functions.
Platform information and environment variables.
Portable way of using operating system dependent functionality.
OS lib provides functions for –
Files and directories –
- Creating files & Directories
- Deleting files & Directories
- Renaming files & Directories
- Listing files & Directories
- Existence of files & Directories , permissions.
- Work with environment variables