user@local~$ vim ftp://hostip/file.py
OK thats it. Told you it was quick. Save and quit (:wq) and your file is updated and published.
There is a huge learning curve to Vim but I think that with time, you will find yourself being more efficient.
user@local~$ vim ftp://hostip/file.py