def start_with_os(self): if os.name =="nt": if config.startWithOS: startupapp.set_startup() else: startupapp.delete_startup()