URLLocation
(base_url)¶Location on the network.
This class uses the urlparse
and urllib2
modules to open files on
the network given a URL.
Constructor:
__init__
(base_url)¶Create a location given a base URL.
Parameters: | base_url (str) – URL string to prepend to filenames. |
---|
Methods:
open
(filename[, mode])