ocelot.common.py_func
¶
Module Contents¶
Functions¶
|
lists all attributes of an object |
|
locates the file where class of the object is defined |
|
start command as background process |
|
|
|
|
|
|
|
-
ocelot.common.py_func.
python_v
= python3¶
-
class
ocelot.common.py_func.
bcolors
¶ -
HEADER
= [95m¶
-
BOLD
= [1m¶
-
OKBLUE
= [94m¶
-
OKGREEN
= [92m¶
-
WARNING
= [93m¶
-
FAIL
= [91m¶
-
ENDC
= [0m¶
-
BOLD
= [1m¶
-
UNDERLINE
= [4m¶
-
-
ocelot.common.py_func.
list_attr
(obj)¶ lists all attributes of an object
-
ocelot.common.py_func.
loc_class
(obj)¶ locates the file where class of the object is defined
-
ocelot.common.py_func.
background
(command)¶ start command as background process the argument shohuld preferably be a string in triple quotes ‘
-
ocelot.common.py_func.
copy_this_script
(file, folderPath)¶
-
ocelot.common.py_func.
filename_from_path
(path_string)¶
-
ocelot.common.py_func.
directory_from_path
(path_string)¶
-
ocelot.common.py_func.
deep_sim_dir
(path, **kwargs)¶