py_platform
is a script that shows information about your system. It mainly uses the platform
module in Python.
Note
All of these are packed in with Python by default, meaning that there is no need for installing other modules.
platform
argparse
Python 3.2 and aboveos
time
You can use py_platform
by opening it through Python. Latest version of Python used was 3.13.2
, oldest version of Python used was 3.11.11
(This doesn't mean older versions of Python can't be used!)
This argument shows all of the arguments shown below.
This argument shows the output of platform.freedesktop_os_release()
, which shows JSON-formatted information about your system.
Important
Not every Python version supports this argument.
This argument shows the output of platform.android_ver()
.
platform.android_ver()
/ Version: Shows the version of Android you are running.
This argument shows the output of platform.win32_ver()
, platform.win32_edition()
, and platform.win32_is_iot()
.
-
platform.win32_ver()
/ Version: Shows the version of Windows you are running. -
platform.win32_edition()
/ Edition: Shows the edition of Windows. -
platform.win32_is_iot()
/ Is IoT / Is Embedded: Shows whether or not your system is Windows IoT/Embedded (?)
This argument shows the output of platform.mac_ver()
.
platform.mac_ver()
/ Mac Version: Shows the version of macOS you are running.
Important
Not every Python version supports this argument.
This argument shows the output of platform.ios_ver()
.
platform.ios_ver()
/ iOS Version: Shows the version of iOS you are running.
This argument shows the output of platform.java_ver()
and platform.libc_ver()
.
This argument shows help about how to use the script.