We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6822009 + 7a40cc6 commit 75fd681Copy full SHA for 75fd681
Pc_information.py
@@ -0,0 +1,11 @@
1
+import platform # built in lib
2
+
3
+print(f"System : {platform.system()}") # Prints type of Operating System
4
+print(f"System name : {platform.node()}") # Prints System Name
5
+print(f"version : {platform.release()}") # Prints System Version
6
+# TO get the detailed version number
7
+print(f"detailed version number : {platform.version()}") # Prints detailed version number
8
+print(f"System architecture : {platform.machine()}") # Prints whether the system is 32-bit ot 64-bit
9
+print(f"System processor : {platform.processor()}") # Prints CPU model
10
11
0 commit comments