ocelot.common.py_func

Module Contents

Classes

bcolors

Functions

list_attr(obj)

lists all attributes of an object

loc_class(obj)

locates the file where class of the object is defined

background(command)

start command as background process

copy_this_script(file, folderPath)

filename_from_path(path_string)

directory_from_path(path_string)

deep_sim_dir(path, **kwargs)

ocelot.common.py_func.python_v = python3
class ocelot.common.py_func.bcolors
HEADER = 
BOLD = 
OKBLUE = 
OKGREEN = 
WARNING = 
FAIL = 
ENDC = 
BOLD = 
UNDERLINE = 
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)