|  |  | Python Library Reference |  |  |

Previous: 18.6.15 HTTPSHandler Objects Up: 18.6 urllib2 Next: 18.6.17 FTPHandler Objects

##
18.6.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: 18.6.15 HTTPSHandler Objects Up: 18.6 urllib2 Next: 18.6.17 FTPHandler Objects

Release 2.5.3, documentation updated on 19th December, 2008.