Best editor for remote python files

Viewed 3576

Most of my data and code are on remote server. I mostly use vim for writing python codes. But, I was wondering if there would be any way to remote access and execute codes on a server from a GUI? GUI comes in handy when I have to plot charts.

I am aware of ipython notebooks and pycharm remote access. ipython/jupyter notebooks have a tendency to get stuck during large computations. And for PyCharm we still need to copy codes to local and use a remote interpreter.

What are the tools that are usually used?

Any help would be appreciated.

Thank You

2 Answers

You can edit remote files directly using PyCharm.

There are also many plugins for popular IDEs that providing sFTP support. For example ftp-simple for VS code or ftp-sync.

Finally, you can mount remote folder:

# issue all these cmds on local machine
sudo apt-get install sshfs 
sudo adduser <username> fuse

mkdir ~/remoteserv    
sshfs -o idmap=user <username>@<ipaddress>:/remotepath ~/remoteserv

See also rsync

Related