PyDocs

Nav

Internet Protocols and Support

FileHandler.file_open

urllib.request

method of FileHandler (source) not WASI
  • FileHandler.file_open(req)
Open the file locally, if there is no host name, or the host name is 'localhost'.
Changed in 3.2
  • 3.2: This method is applicable only for local hostnames. When a remote hostname is given, a URLError is raised.
0 Examples
No examples for urllib.request/FileHandler.file_open.
See Also
No see-alsos for urllib.request/FileHandler.file_open
0 Notes
No notes for FileHandler.file_open