:mod:`ocelot.common.py_func` ============================ .. py:module:: ocelot.common.py_func Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: ocelot.common.py_func.bcolors Functions ~~~~~~~~~ .. autoapisummary:: ocelot.common.py_func.list_attr ocelot.common.py_func.loc_class ocelot.common.py_func.background ocelot.common.py_func.copy_this_script ocelot.common.py_func.filename_from_path ocelot.common.py_func.directory_from_path ocelot.common.py_func.deep_sim_dir .. data:: python_v :annotation: = python3 .. py:class:: bcolors .. attribute:: HEADER :annotation: =  .. attribute:: BOLD :annotation: =  .. attribute:: OKBLUE :annotation: =  .. attribute:: OKGREEN :annotation: =  .. attribute:: WARNING :annotation: =  .. attribute:: FAIL :annotation: =  .. attribute:: ENDC :annotation: =  .. attribute:: BOLD :annotation: =  .. attribute:: UNDERLINE :annotation: =  .. function:: list_attr(obj) lists all attributes of an object .. function:: loc_class(obj) locates the file where class of the object is defined .. function:: background(command) start command as background process the argument shohuld preferably be a string in triple quotes ' .. function:: copy_this_script(file, folderPath) .. function:: filename_from_path(path_string) .. function:: directory_from_path(path_string) .. function:: deep_sim_dir(path, **kwargs)