1
0

Manual module loading/reloading

This commit is contained in:
Deven Blake 2021-05-31 15:02:35 -04:00
parent a3812c78dc
commit 7c39e9afd3

8
it/src/load_module.py Normal file
View 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