Home  >  Q&A  >  body text

python在windows下如何交互式编程

python如何使用windows下的ssh.exe scp.exe等工具登录linux机器,并且执行几条命令?
在linux下可以用pexpect模块实现,但是在windows下似乎不能用这个模块,该怎么做,谢谢

伊谢尔伦伊谢尔伦2764 days ago521

reply all(3)I'll reply

  • ringa_lee

    ringa_lee2017-04-18 09:05:06

    window seems to have the winpexpect module.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 09:05:06

    Perhaps, you can change your mind and find an SSH client library directly, such as:
    http://www.fabfile.org/
    or
    http://www.paramiko.org/

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-18 09:05:06

    If you change your mind, you can actually use Jupyter Notebook. You can either install the Windows version or set up a notebook server on Linux for access

    reply
    0
  • Cancelreply