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
Below is the Python implementation –
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.
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course