Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/csev/py4e
/ curl1.py
File
curl1.py
code3/curl1.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
urllib.request, urllib.parse, urllib.error
2
3
img = urllib.request.urlopen(
'http://data.pr4e.org/cover3.jpg'
).read()
4
fhand = open(
'cover3.jpg'
,
'wb'
)
Callers
nothing calls this directly
Calls
2
read
Method · 0.80
close
Method · 0.45
Tested by
no test coverage detected