Advertisement
zcutlip

toy objects auto created in python interpreter

Dec 15th, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. (0) $ alias bpython
  2. alias bpython='bpython -i $DOTFILES/bpython/init.py'
  3. -==< zach@endor:~ >==-
  4. (0) $ cat $DOTFILES/bpython/init.py
  5. mydict = {"foo": 1, "bar": 2}
  6. mylist = [1, 2, 3, 4, 5]
  7. -==< zach@endor:~ >==-
  8. (0) $ bpython
  9. bpython version 0.17.1 on top of Python 2.7.10 /usr/bin/python
  10. >>> mydict
  11. {'foo': 1, 'bar': 2}
  12. >>> mylist
  13. [1, 2, 3, 4, 5]
  14. >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement