def open_file_dialog():
 filename = QtGui.QFileDialog.getOpenFileName()
 filename = _format_filename(filename)
 return filename

def open_file_dialog ( ) : filename = QtGui . QFileDialog . getOpenFileName ( ) filename = _format_filename ( filename ) return filename
return user-selected file path .