Advertisement
jsbsan

conexioncomporbacion

Oct 9th, 2014
1,054
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. try:
  2.     line.remove('Connected successfully')
  3.     print("La conexión se realizo correctamente, borro este texto de la lista line")
  4.    
  5. except ValueError:
  6.     print("No se habia conectado...., paro el programa")
  7.     sys.exit(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement