28.06.2017 Views

Python para todos

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Sockets<br />

while True:<br />

mensaje = raw_input(“> “)<br />

s.send(mensaje)<br />

mensaje == “quit”:<br />

break<br />

print “adios”<br />

s.close()<br />

95

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!