![]() |
ATLAS Offline Software
|
Functions | |
| FindFile (filename, pathlist, access) | |
| helper -------------------------------------------------------------------— | |
| which (filename, env=os.environ) | |
| UNIX-style which ---------------------------------------------------------—. | |
| where (filename, prepath=[]) | |
| "which" for python files -------------------------------------------------— | |
| find_datafile (fname, pathlist=None, access=os.R_OK) | |
| pathresolver-like helper function --------------------------------------— | |
| find_calibfile (fname, pathlist=None, access=os.R_OK) | |
| pathresolver-like helper function --------------------------------------— | |
Variables | |
| str | __version__ = '1.0.0' |
| data ________________________________________________________________________ | |
| str | __author__ = 'Wim Lavrijsen (WLavrijsen@lbl.gov)' |
| list | __all__ |
Unix-like tools and helpers.
| python.Utils.unixtools.find_calibfile | ( | fname, | |
| pathlist = None, | |||
| access = os.R_OK ) |
pathresolver-like helper function --------------------------------------—
the python equivalent to the C++ PathResolver for calibfiles.
Definition at line 80 of file unixtools.py.
| 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.
| python.Utils.unixtools.FindFile | ( | filename, | |
| pathlist, | |||
| access ) |
helper -------------------------------------------------------------------—
Find <filename> with rights <access> through <pathlist>.
Definition at line 20 of file unixtools.py.
| 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.
| 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.