3
0
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:
James Lu 2015-12-29 11:03:45 -08:00
parent 64bb646d1e
commit cc79871eaf

View File

@ -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>