Python Forum

Full Version: Python editor that will SFTP automatically on save
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can anyone recommend a python editor for Windows that will automatically upload my file to the server upon save via SFTP? I prefer a minimalist editor to a full IDE, but if I need to go with a full IDE I'll do it. I've been coding in Notepad++ and I love it for the simplicity - I've tried the NPP FTP plugin for Notepad++ but I still need to manually upload, it won't auto do it on save. So if anyone can suggest a simplistic editor that will... much appreciated!
It is not minimalist, but I can do this with the Kate editor in Linux. As Kate can also be installed in Windows, it may work there too.

In the SaveAs dialog or the Open dialog, one can type eg
Output:
sftp://myuser@myhost:/home/myuser/spam.txt
and edit spam.txt. I checked that the file is updated on the distant host on Ctrl-S. You'll need to find how to adapt the path to the file in Windows.

Kate is a very good and user-friendly editor. It is worth trying.