Location
¶Abstract resource location.
Given a location, a file can be loaded from that location with the open method. This provides a convenient way to specify a path to load files from, and not necessarily have that path reside on the filesystem.
Methods:
open
(filename[, mode])Open a file at this location.
Location.
open
(filename, mode='rb')¶Open a file at this location.
Parameters: |
|
---|---|
Return type: | file object |