gdesk.live.manage module

class gdesk.live.manage.LiveScriptManager(workspace=None)

Bases: object

append_path(path, resolve=True)
find_script(modstr='test')

Search for the script in the path. Return the found path.

load(path, name=None)
log(*msgs)
mark_for_update(enforce=False)
update_now(enforce=False)

Reload the scripts in memory. If not enforced, load only scripts with more recent timestamps

using_modstr(modstr, top=False)

Load a script or make a ScriptTree. A ScripTree is used to link to a dir. The loading of a script is done at moment of attribute access.

using_path(path, stype=None, top=False, name=None)
warn(*msgs)
write_error(text)
write_syntax_err(text)
class gdesk.live.manage.LiveScriptScan(script_manager, top=False)

Bases: object

class gdesk.live.manage.LiveScriptTree(script_manager, path, top=False, name=None)

Bases: object

class gdesk.live.manage.LsCode(script_manager, path, name=None)

Bases: object

check_for_update()
load()
modify_time()
update()
class gdesk.live.manage.LsWorkspace(ls_code, file, name='unkown')

Bases: object

gdesk.live.manage.markUpdateCall(scm, ls_code, attr)
gdesk.live.manage.show_syntax_error(writer_call)

Display the syntax error that just occurred.

gdesk.live.manage.show_traceback(writer_call)

Display the exception that just occurred.