Advertisement
Fhernd

iteracion-con-iter.py

Jun 27th, 2018
1,703
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. PARTICIONAMIENTO = 8192
  2.  
  3. def leerDatos(entrada):
  4.     for parte in iter(lambda: s.recv(PARTICIONAMIENTO), b''):
  5.         pass
  6.         # realizar procesamiento con los datos leídos
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement