MCPcopy
hub / github.com/csev/py4e / curl1.py

File curl1.py

old/old-code/curl1.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import urllib
2
3img = urllib.urlopen('http://www.py4inf.com/cover.jpg').read()
4fhand = open('cover.jpg', 'w')

Callers

nothing calls this directly

Calls 2

readMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected