mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +01:00
exec: add some more default imports for convenience
This commit is contained in:
parent
64bb646d1e
commit
cc79871eaf
@ -9,8 +9,12 @@ sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
import utils
|
||||
from log import log
|
||||
|
||||
# Easier access to world through eval/exec.
|
||||
# These imports are not strictly necessary, but make the following modules
|
||||
# easier to access through eval and exec.
|
||||
import world
|
||||
import threading
|
||||
import re
|
||||
import time
|
||||
|
||||
def _exec(irc, source, args):
|
||||
"""<code>
|
||||
|
Loading…
Reference in New Issue
Block a user