def load(filters="<STR_LIT>", text='<STR_LIT>', default_directory='<STR_LIT>'):
<EOL>if not '<STR_LIT:*>' in filters.split('<STR_LIT:;>'): filters = filters + "<STR_LIT>"<EOL>if default_directory in _settings.keys(): default = _settings[default_directory]<EOL>else:                                     default = "<STR_LIT>"<EOL>result = _qtw.QFileDialog.getOpenFileName(None,text,default,filters)<EOL>if _s._qt.VERSION_INFO[<NUM_LIT:0>:<NUM_LIT:5>] == "<STR_LIT>": result = result[<NUM_LIT:0>]<EOL>result = str(result)    <EOL>if result == '<STR_LIT>': return None<EOL>else:<EOL><INDENT>_settings[default_directory] = _os.path.split(result)[<NUM_LIT:0>]<EOL>return result<EOL><DEDENT>
Pops up a dialog for opening a single file. Returns a string path or None.