def do_export(self, arg):
        'export <arg>\nExport profiles to specified file.'
        try:
            self.control.export_(arg, 'Doukutsu Monogatari')
        except Exception, reason:
            self.stdout.write(reason.message + '\n')
export <arg>
Export profiles to specified file.
recipes/Python/577008_Profile_Manager_21/recipe-577008.py