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@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

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to