ATLAS Offline Software
|
Functions | |
def | FindFile (filename, pathlist, access) |
helper -------------------------------------------------------------------— More... | |
def | which (filename, env=os.environ) |
UNIX-style which ---------------------------------------------------------—. More... | |
def | where (filename, prepath=[]) |
"which" for python files -------------------------------------------------— More... | |
def | find_datafile (fname, pathlist=None, access=os.R_OK) |
pathresolver-like helper function --------------------------------------— More... | |
Variables | |
string | __version__ = '1.0.0' |
data ________________________________________________________________________ More... | |
string | __author__ = 'Wim Lavrijsen (WLavrijsen@lbl.gov)' |
list | __all__ |
def python.Utils.unixtools.find_datafile | ( | fname, | |
pathlist = None , |
|||
access = os.R_OK |
|||
) |
pathresolver-like helper function --------------------------------------—
the python equivalent to the C++ PathResolver for datafiles.
Definition at line 67 of file unixtools.py.
def python.Utils.unixtools.FindFile | ( | filename, | |
pathlist, | |||
access | |||
) |
helper -------------------------------------------------------------------—
Find <filename> with rights <access> through <pathlist>.
Definition at line 20 of file unixtools.py.
def python.Utils.unixtools.where | ( | filename, | |
prepath = [] |
|||
) |
"which" for python files -------------------------------------------------—
Search for <filename> in the python path and the given <prepath>.
Definition at line 53 of file unixtools.py.
def python.Utils.unixtools.which | ( | filename, | |
env = os.environ |
|||
) |
UNIX-style which ---------------------------------------------------------—.
Search for <filename> through the PATH in environment <env>. Only executable files will be returned.
Definition at line 39 of file unixtools.py.
|
private |
Definition at line 15 of file unixtools.py.
|
private |
Definition at line 13 of file unixtools.py.
|
private |
data ________________________________________________________________________
Definition at line 12 of file unixtools.py.