|  |  | Python Library Reference |  |  |

Previous: 11.5.14 HTTPSHandler Objects Up: 11.5 urllib2 Next: 11.5.16 FTPHandler Objects

##
11.5.15 FileHandler Objects

`file_open`(req)
  Open the file locally, if there is no host name, or the host name is `'localhost'`. Change the protocol to `ftp` otherwise, and retry opening it using `parent`.

|  |  | Python Library Reference |  |  |

Previous: 11.5.14 HTTPSHandler Objects Up: 11.5 urllib2 Next: 11.5.16 FTPHandler Objects

Release 2.2.3, documentation updated on 30 May 2003.