Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /foo
- __init__.py
- bar.py
- import bar
- eval("import bar")
- >>> import foo
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "foo/__init__.py", line 2, in <module>
- eval('import bar')
- File "<string>", line 1
- import bar
- ^
- SyntaxError: invalid syntax
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement