Update embedded_python_env.py
This commit is contained in:
parent
868932c5e4
commit
484f13dc29
1 changed files with 8 additions and 0 deletions
|
|
@ -5,9 +5,17 @@ python.exe -i embedded_python_env.py
|
||||||
"""
|
"""
|
||||||
# vim: sts=2 sw=2 ts=2
|
# vim: sts=2 sw=2 ts=2
|
||||||
|
|
||||||
|
import pickle
|
||||||
import wk
|
import wk
|
||||||
|
|
||||||
|
|
||||||
|
# Functions
|
||||||
|
def load_state():
|
||||||
|
with open('debug/state.pickle', 'rb') as f:
|
||||||
|
return pickle.load(f)
|
||||||
|
|
||||||
|
|
||||||
|
# Main
|
||||||
wk.ui.cli.print_colored(
|
wk.ui.cli.print_colored(
|
||||||
(wk.cfg.main.KIT_NAME_FULL, ': ', 'Debug Console'),
|
(wk.cfg.main.KIT_NAME_FULL, ': ', 'Debug Console'),
|
||||||
('GREEN', None, 'YELLOW'),
|
('GREEN', None, 'YELLOW'),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue