.. _f-syshelper: module ``loghelper.sys_helper`` =============================== .. inheritance-diagram:: pyquickhelper.loghelper.sys_helper Short summary +++++++++++++ module ``pyquickhelper.loghelper.sys_helper`` Helpers around functions in :epkg:`*py:sys`. :githublink:`%|py|5` Classes +++++++ +-------------------------------------------------------------------------------------+------------------------------------------------------------------------+ | class | truncated documentation | +=====================================================================================+========================================================================+ | :class:`python_path_append ` | Appends one path into ``PYTHONPATH``. | +-------------------------------------------------------------------------------------+------------------------------------------------------------------------+ | :class:`sys_path_append ` | Stores the content of :epkg:`*py:sys:path` and restores it afterwards. | +-------------------------------------------------------------------------------------+------------------------------------------------------------------------+ Methods +++++++ +----------------------------------------------------------------------------------------+----------------------------------------+ | method | truncated documentation | +========================================================================================+========================================+ | :py:meth:`__enter__ ` | Modifies ``os.environ['PYTHONPATH']``. | +----------------------------------------------------------------------------------------+----------------------------------------+ | :py:meth:`__enter__ ` | Modifies ``sys.path``. | +----------------------------------------------------------------------------------------+----------------------------------------+ | :py:meth:`__exit__ ` | Restores``sys.path``. | +----------------------------------------------------------------------------------------+----------------------------------------+ | :py:meth:`__exit__ ` | Restores``sys.path``. | +----------------------------------------------------------------------------------------+----------------------------------------+ | :py:meth:`__init__ ` | | +----------------------------------------------------------------------------------------+----------------------------------------+ | :py:meth:`__init__ ` | | +----------------------------------------------------------------------------------------+----------------------------------------+ Documentation +++++++++++++ .. automodule:: pyquickhelper.loghelper.sys_helper :members: :special-members: __init__ :show-inheritance: