PyDocs

Nav

Internet Protocols and Support

install_opener

urllib.request

function (source) not WASI
  • install_opener(opener)
Install an OpenerDirector instance as the default global opener. Installing an opener is only necessary if you want urlopen to use that opener; otherwise, simply call OpenerDirector.open() instead of urlopen(). The code does not check for a real OpenerDirector, and any class with the appropriate interface will work.
0 Examples
No examples for urllib.request/install_opener.
See Also
No see-alsos for urllib.request/install_opener
0 Notes
No notes for install_opener