|  |  | Python Library Reference |  |  |

Previous: 11.5.15 HTTPSHandler Objects Up: 11.5 urllib2 Next: 11.5.17 FTPHandler Objects

##
11.5.16 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.15 HTTPSHandler Objects Up: 11.5 urllib2 Next: 11.5.17 FTPHandler Objects

Release 2.4.1, documentation updated on 30 March 2005.