Execute selection in Python and append : Execute a selection in Python and paste result after
script karma |
Rating 6/4,
Downloaded by 873 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Michal Gajda |
|
script type |
utility |
|
description |
This script executes a selection in Python and then pastes the result after that selection or replaces the selection. Useful for testing small software snippets and documenting them in the same buffer.
It is based on http://vim.wikia.com/wiki/Execute_Python_from_within_current_file |
|
install details |
Just put into your .vimrc and then use command :Pyea (appends) or :Pyer (replaces) . |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 13.59.48.34
|