https://www.cnblogs.com/xuegqcto/p/8621689.html
pycharm
1. 设置deployment
1.1 tools->deployment->configuration设置信息
1.2 设置sftp,注意"Root path"是根目录,Mappings中是二级目录
添加sever140设置deployment中connection
选"Advanced options"设置如下:
1.3 设置Deployment 中Mappings
1.4 勾选上deployment中Automatic Upload(always)
2. 远程设试python ide设置
2.1 设置ssh interpreter
2.2 设置SSH Interpreter,选择server140,点NEXT
2.3 设置Sync folders中Local Path与Remote Path
3. download from server至本地,选择文件夹->点击右键->Deployment->Download from server140
2.4 运行,显示调试成功。