Python Library Reference
Previous:
17.6.15 HTTPSHandler Objects
Up:
17.6 urllib2
Next:
17.6.17 FTPHandler Objects
17.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:
17.6.15 HTTPSHandler Objects
Up:
17.6 urllib2
Next:
17.6.17 FTPHandler Objects
Release 2.5b2, documentation updated on 11th July, 2006.
See
About this document...
for information on suggesting changes.