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
_______________________________________________
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers

Reply via email to