| Trees | Indices | Help |
|
|---|
|
|
Find the path to an existing file, searching the paths specified in the search_paths parameter if the filename is not absolute, and converting a UNIX-style path to the current OS's format if necessary.
To turn a supplied relative path into an absolute one, the path is appended to paths in the search_paths parameter, in order, until the file is found.
An IOError is raised if the file is not found.
Similar to Python's os.path.abspath(), except more search paths than just os.getcwd() can be used, and the file must exist.
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
search_paths = List(default= [os.getcwd()], pickle_default_valPrepended to a non-relative path, in order, until a file is found. |
|||
__params = dict() -> new empty dictionary. |
|||
name = <param.parameterized.String object at 0xa2ff92c>String identifier for this object. |
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
|
|||
search_pathsPrepended to a non-relative path, in order, until a file is found.
|
__params
dict() -> new empty dictionary.
dict(mapping) -> new dictionary initialized from a mapping object's
(key, value) pairs.
dict(seq) -> new dictionary initialized as if via:
d = {}
for k, v in seq:
d[k] = v
dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list. For example: dict(one=1, two=2)
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 5 14:59:26 2010 | http://epydoc.sourceforge.net |