MCPcopy
hub / github.com/PySimpleGUI/PySimpleGUI / running_mac

Function running_mac

PySimpleGUI/PySimpleGUI.py:286–295  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

284
285
286def running_mac():
287 """
288 Determines the OS is Mac by using sys.platform
289
290 Returns True if Mac
291
292 :return: True if sys.platform indicates running Mac
293 :rtype: (bool)
294 """
295 return sys.platform.startswith('darwin')
296
297
298def running_windows():

Callers 15

PySimpleGUI.pyFile · 0.85
set_right_click_menuMethod · 0.85
__init__Method · 0.85
ButtonCallBackMethod · 0.85
_table_clickedMethod · 0.85
make_modalMethod · 0.85
_add_right_click_menuFunction · 0.85
PackFormIntoFrameFunction · 0.85
_get_hidden_master_rootFunction · 0.85
StartupTKFunction · 0.85
popup_get_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected