Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # foo.py
- h = "foo"
- print h
- # 1) emacs select all
- # 2) c-c | (python-mode: execute region)
- Python 2.7.5 (default, Aug 25 2013, 00:04:04)
- [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
- Type "help", "copyright", "credits" or "license" for more information.
- >>> Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- ImportError: No module named IPython.core.completerlib
- >>> import os;os.chdir("/tmp/")
- >>> exec(compile(open('/var/folders/0w/3cxrx6ds2txfqz5s447blww00000gn/T//python-65918FeD.py').read(), '/var/folders/0w/3cxrx6ds2txfqz5s447blww00000gn/T//python-65918FeD.py', 'exec')) # PYTHON-MODE
- foo
- >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement