Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

        def reset(path):
	p = default_pref()
	f = open( path, 'w')
	yaml.dump(p, f)
        


src/a/l/AlfredWorkflow.com-HEAD/Sources/Workflows/Todo/setup.py   AlfredWorkflow.com(Download)
def reset():
	config.reset(config.pref_path())
 
def main():
	(command, data) = alfred.args2()

src/p/y/pytivo-HEAD/plugins/admin/admin.py   pytivo(Download)
    def Reset(self, handler, query):
        config.reset()
        handler.server.reset()
        if 'last_page' in query:
            last_page = query['last_page'][0]