import qi import sys if __name__ == "__main__": print("Note that could specify the ip-address with the argument '--qi-url=tcp://146.50.60.??'") application = qi.Application(sys.argv) application.start() preferences = application.session.service("ALPreferenceManager") preferences.setValue("com.aldebaran.robotwebpage", "CurrentPage", "menu.root.myrobot") application.session.close()