Python - Get Hardware and System information using platform module Last Updated : 26 Mar, 2020 Comments Improve Suggest changes Like Article Like Report In this article, we will see how we can show information about our system i.e processor name, name of system etc. The Platform module is used to retrieve as much possible information about the platform on which the program is being currently executed. Now by platform info, it means information about the device, it’s OS, node, OS version, Python version, etc. This module plays a crucial role when you want to check whether your program is compatible with the python version installed on a particular system or whether the hardware specifications meet the requirements of your program. In order to do this we need to import platform module. import platform Below is the Python implementation - Python3 1== # importing module import platform # dictionary info = {} # platform details platform_details = platform.platform() # adding it to dictionary info["platform details"] = platform_details # system name system_name = platform.system() # adding it to dictionary info["system name"] = system_name # processor name processor_name = platform.processor() # adding it to dictionary info["processor name"] = processor_name # architectural detail architecture_details = platform.architecture() # adding it to dictionary info["architectural detail"] = architecture_details # printing the details for i, j in info.items(): print(i, " - ", j) Output : platform details - Windows-10-10.0.17134-SP0 system name - Windows processor name - Intel64 Family 6 Model 158 Stepping 10, GenuineIntel architectural detail - ('64bit', 'WindowsPE') Note : Output may vary based on you system architecture. Comment More infoAdvertise with us Next Article Python - Get Hardware and System information using platform module R rakshitarora Follow Improve Article Tags : Python python-utility Practice Tags : python Similar Reads View Computer's Important Network Information Using Python While working in a network, we do some troubleshooting with the network or Internet problem. This time we need to check your own system network connection information. We can find the network connection in the Control Panel in Windows. The best way to find this information we can use ipconfig comman 1 min read How to locate a particular module in Python? In this article, we will see how to locate a particular module in Python. Locating a module means finding the directory from which the module is imported. When we import a module the Python interpreter searches for the module in the following manner: First, it searches for the module in the current 3 min read Platform Module in Python Platform module in Python is a built-in library that provides a portable way to access detailed information about the underlying platform (hardware and operating system) on which your Python program is running. This can include data such as the OS name and version, machine type, processor info and P 3 min read Get OS name and version in Python Python programming has several modules that can be used to retrieve information about the current operating system and the version that is running on the system. In this article we will explore How to get the OS name and version in Python.Let us see a simple example to get the OS name and version in 2 min read How to automate system administration with Python Python has become one of the most popular programming languages for system administrators due to its simplicity, flexibility, and extensive support for various system management tasks. Whether you're automating repetitive tasks, managing files and directories, or handling user permissions, Python pr 5 min read Get a List of Installed Softwares in Windows using Python In this article, we are going to write a Python script to get the installed software list in windows. We will use the subprocess module to interact with cmd and to retrieve information into your Python IDE. We can read the cmd command through the subprocess module. Let's see the logic, if we run thi 1 min read Extracting MAC address using Python MAC address also known as physical address is the unique identifier that is assigned to the NIC (Network Interface Card) of the computer. NIC helps in connection of a computer with other computers in the network. MAC address is unique for all the NIC's. Uses of MAC address : Useful in places where I 3 min read C API from Extension Module in Python | Set 2 Prerequisite: C API from Extension Module in Python | Set 1 Let's see an example of a new extension module that loads and uses these API functions that we build up in the previous article. Code #1 : C #include "pythonsample.h" /* An extension function that uses the exported API */ static P 2 min read Why Python is Called a Cross-Platform Language Python, a high-level, interpreted programming language, is renowned for its cross-platform capabilities. This attribute signifies that Python code can run on various operating systemsâsuch as Windows, macOS, Linux, and othersâwithout requiring substantial modifications. Why Python is Called a Cross- 4 min read Python | platform.uname() Method In this article, we will learn how to detect the operating system that is currently being used in your system using Python. Detect OS Using the platform Module in Python The platform.uname() method in python is used to get information about the current operating system. This method returns informati 1 min read Like