181008 5步实现PyCharm本地编辑文件-服务器同步并运行文件

版权声明:本文为博主原创文章,转载请注明出处。 https://blog.csdn.net/qq_33039859/article/details/82967654

在PyCharm中执行以下5步:

  • Step1:Ctrl+,打开项目偏好Preference设置
  • Step2:左边点击Preject Interpreter,右边点击小齿轮-Add Python Interpreter
  • Step3:左边点击SSH Interpreter,右边点击New server configuration
  • Step4:输入Host,再输入Username,随后输入密码
  • Step5:选择Python解释器的路径,最后配置本地与服务器镜像文件路径

Ps:程序可以选用terminal或者python console执行,可在Run-Edit COnfigurations-Run with Python console通过勾选进行切换.

猜你喜欢

转载自blog.csdn.net/qq_33039859/article/details/82967654