Created
June 27, 2018 23:59
-
-
Save Fhernd/7bed6848887e6e823d038f139aa3808e to your computer and use it in GitHub Desktop.
Iteración indeterminada (infinita) con la función iter(). OrtizOL.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PARTICIONAMIENTO = 8192 | |
def leerDatos(entrada): | |
for parte in iter(lambda: s.recv(PARTICIONAMIENTO), b''): | |
pass | |
# realizar procesamiento con los datos leídos |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment