def export_settings(settings, config_path):
"""
Export the given settings instance to the given file system path.
type settings: IDASettingsInterface
type config_path: str
"""
other = QtCore.QSettings(config_path, QtCore.QSettings.IniFormat)
for k, v in settings.iteritems():
other.setValue(k, v)
#######################################################################################
#
# Test Cases
# run this file as an IDAPython script to invoke the tests.
#
#######################################################################################
评论列表
文章目录