def run_by_discovery_id(): print """ >> Discovery ID: """ discovery_id = raw_input(">>") print """ >> Enter your command: """ command = raw_input(">>") send_command_ssh(discovery_id, command) time.sleep(2) main_menu()