MCPcopy Index your code
hub / github.com/PySimpleGUI/PySimpleGUI / running_linux

Function running_linux

PySimpleGUI/PySimpleGUI.py:274–283  ·  view source on GitHub ↗

Determines the OS is Linux by using sys.platform Returns True if Linux :return: True if sys.platform indicates running Linux :rtype: (bool)

()

Source from the content-addressed store, hash-verified

272
273
274def running_linux():
275 """
276 Determines the OS is Linux by using sys.platform
277
278 Returns True if Linux
279
280 :return: True if sys.platform indicates running Linux
281 :rtype: (bool)
282 """
283 return sys.platform.startswith('linux')
284
285
286def running_mac():

Callers 9

maximizeMethod · 0.70
normalMethod · 0.70
_no_titlebar_setupFunction · 0.70
popup_get_fileFunction · 0.70
_compute_filenameMethod · 0.70
get_versionsFunction · 0.70
_create_main_windowFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected