URLLocation Class

Inheritance diagram of URLLocation

class 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])

Methods

URLLocation.open(filename, mode='rb')

Table Of Contents

Previous topic

Location Class

Next topic

ZIPLocation Class