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, documentation updated on 30 November 2004.
See
About this document...
for information on suggesting changes.