MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / system

Function system

tools/python-3.11.9-amd64/Lib/platform.py:914–921  ·  view source on GitHub ↗

Returns the system/OS name, e.g. 'Linux', 'Windows' or 'Java'. An empty string is returned if the value cannot be determined.

()

Source from the content-addressed store, hash-verified

912### Direct interfaces to some of the uname() return values
913
914def system():
915
916 """ Returns the system/OS name, e.g. 'Linux', 'Windows' or 'Java'.
917
918 An empty string is returned if the value cannot be determined.
919
920 """
921 return uname().system
922
923def node():
924

Callers 1

mainFunction · 0.90

Calls 1

unameFunction · 0.70

Tested by

no test coverage detected