Hey I recently saw a code which was
req = urllib.request.Request(mirror + path + '/q.php?q=test&cat=0', headers=pirate.data.default_headers) try: f = urllib.request.urlopen(req, timeout=timeout)
and I wanted to know the diffrece between the Request and urlopen classes can anyone helpout?
1.4m articles
1.4m replys
5 comments
57.0k users