<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def persistentRegisterInspector(fullName, fullClassName, pythonPath=''):
 """ Registers an inspector Loads or inits the inspector registry, register the inspector and saves the settings. Important: instantiate a Qt application first to use the correct settings file/winreg. """

    registry = InspectorRegistry()
    registry.loadOrInitSettings()
    registry.registerInspector(fullName, fullClassName, pythonPath=pythonPath)
    registry.saveSettings()