Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- url = "http://localhost:5000/alumno"
- while True:
- print("""
- Administración de alumnos:
- =========================
- 1. Agregar un alumno
- 2. Modificar datos de un alumno
- 3. Listar alumnos
- 4. Eliminar un alumno
- 5. Salir
- """)
- opcion = input("Seleccione una opcion:")
- if opcion == "1":
- pass
- elif opcion == "2":
- pass
- elif opcion == "3":
- pass
- elif opcion == "4":
- pass
- elif opcion == "5":
- print("Cerrando conexión con el servidor...")
- break
- else:
- print("Opción incorrecta")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement