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

Function execute_get_editor

PySimpleGUI/PySimpleGUI.py:23426–23438  ·  view source on GitHub ↗

Get the path to the editor based on user settings or on PySimpleGUI's global settings :return: Path to the editor :rtype: str

()

Source from the content-addressed store, hash-verified

23424
23425
23426def execute_get_editor():
23427 """
23428 Get the path to the editor based on user settings or on PySimpleGUI's global settings
23429
23430 :return: Path to the editor
23431 :rtype: str
23432 """
23433 try: # in case running with old version of PySimpleGUI that doesn't have a global PSG settings path
23434 global_editor = pysimplegui_user_settings.get('-editor program-')
23435 except:
23436 global_editor = ''
23437
23438 return user_settings_get_entry('-editor program-', global_editor)
23439
23440
23441def execute_restart(your_filename, parms=''):

Callers 1

_error_popup_with_codeFunction · 0.85

Calls 2

user_settings_get_entryFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected