Manual module loading/reloading
This commit is contained in:
parent
a3812c78dc
commit
7c39e9afd3
8
it/src/load_module.py
Normal file
8
it/src/load_module.py
Normal file
@ -0,0 +1,8 @@
|
||||
def main(buffer, command):
|
||||
if len(command) == 1:
|
||||
print("?")
|
||||
else:
|
||||
for module in command[1:]:
|
||||
if buffer.import_module_(module):
|
||||
print("Loaded %s" % module)
|
||||
return buffer
|
Loading…
Reference in New Issue
Block a user