Automating a PuTTY session with Python 3 and pyautogui

preview_player
Показать описание
Control a PuTTY session from a simple script file. Take screen shots at any stage. The screen shots are in plain text files.
Рекомендации по теме
Комментарии
Автор

Very very useful, but the volume is a bit low. I wonder if this solution could be used by an application in a production environment.

facoffee
Автор

Hi Andy.

This video is very interesting.

How did you take the PuTTY window and move it to the corner? Did you use pyautogui?

miguevarval
Автор

Hi Andy
Will it work for command
pbrun su - sampleuser

akshaya
Автор

Hi Andy! Thanks for your interesting video. Can you please tell me what packages are you using? Thanks a lot!

andreidutan
Автор

Man I wish you would've shown the code.
But i just need a clarification like how did you manage to click on No button or can I use if else on the popup, cuz sometime popup will come and sometimes not.

masterbaitt
Автор

Hi Andy,
i wanna do something like this, but im stuck at the point of how to type the commands on putty using python, like i open the putty and login using subrpocess module in python but thats all.
is there any way to actually type commands on putty from the python code.
Thank you in advance

seifamona
Автор

Good one. Please share the code if possible.

smritiarchit
Автор

Hi Andy, would you please share puttyauto.py file??

shivamrajawat
welcome to shbcf.ru