[BangPypers] Favorite tips/techniques
Anand Chitipothu
anandology at gmail.com
Tue Sep 10 13:49:55 CEST 2013
Another utility script that I use very heavily, pyvi.
https://github.com/anandology/hacks/blob/master/pyvi
$ pyvi json.tool
That opens json.tool module (or any other module) in vim. It also changes
the current dir to that module directory so that you can easily open other
modules in the same package very easily.
You can press :e <tab> to see all available modules. :e deco<tab> will
expand it to :e decoder.py and so on.
I find this very hard for reading code when documentation is not enough.
Noufal has an emacs port of this script.
Anand
More information about the BangPypers
mailing list