[Tutor] how to control putty window

Dave Angel d at davea.name
Thu Dec 20 16:17:27 CET 2012


On 12/20/2012 09:25 AM, Ufuk Eskici wrote:
>
> I run this command and opens putty:
>
> import os
> import subprocess
> command = '"c:\Program Files\Putty\putty.exe" -ssh
> ufukeskici at 10.10.10.10-pw test
> subprocess.Popen(command)
>
>
You really should use cut and paste when trying to tell us what you
tried.  But I'd like to point out that you were just lucky that the file
pathname worked.  You need to use either a raw string, double the
backslashes, or use forward slashes.

-- 

DaveA



More information about the Tutor mailing list