MCPcopy Index your code
hub / github.com/bslatkin/effectivepython / send

Method send

example_code/item_099.py:71–72  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

69 self.handle = open(os.devnull, "wb")
70
71 def send(self, data):
72 self.handle.write(data)
73
74socket = ... # socket connection to client
75video_data = ... # bytes containing data for video_id

Callers 3

item_046.pyFile · 0.45
run_modulatingFunction · 0.45
item_099.pyFile · 0.45

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected