module loghelper.sys_helper
¶
Classes¶
class |
truncated documentation |
---|---|
Appends one path into |
|
Stores the content of sys.path and restores it afterwards. |
Methods¶
method |
truncated documentation |
---|---|
Modifies |
|
Modifies |
|
Restores``sys.path``. |
|
Restores``sys.path``. |
|
Documentation¶
Helpers around functions in sys.
-
class
pyquickhelper.loghelper.sys_helper.
python_path_append
(paths, first=False)[source][source]¶ Bases:
object
Appends one path into
PYTHONPATH
.- Parameters
paths – paths to add
first – where to add it, first or last position
-
class
pyquickhelper.loghelper.sys_helper.
sys_path_append
(paths, position=- 1)[source][source]¶ Bases:
object
Stores the content of sys.path and restores it afterwards.
- Parameters
paths – paths to add
position – where to add it