|  |  | Python Library Reference |  |  |

Previous: 11.4.14 HTTPSHandler Objects Up: 11.4 urllib2 Next: 11.4.16 FTPHandler Objects

##
11.4.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.4.14 HTTPSHandler Objects Up: 11.4 urllib2 Next: 11.4.16 FTPHandler Objects

Release 2.1.3, documentation updated on April 8, 2002.