gdesk.live package¶
Submodules¶
Module contents¶
The is the doctring of live. Example of nested live script
– scripts/info.py ———————
- def get_info():
return f’Info from {__file__}’
– scripts/map1/hello.py —————
from gdesk.live import using info = using.info
- def hello_world():
print(f’Hello world’) print(info.get_info())
– Use of using at top level ———–
from gdesk.live import manager, use manager.append_path(‘scripts’) hello = use.map1.hello hello.hello_world()