Skip to content

Commit

Permalink
define process_data()
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Sep 19, 2017
1 parent 05ca48e commit 49d2702
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cookbook/c04/p16_iterate_while.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
import sys


def process_data():
print(data)


def reader(s, size):
while True:
data = s.recv(size)
Expand Down

0 comments on commit 49d2702

Please sign in to comment.