What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » make putty session, without putty

make putty session, without putty
Author: Message:
Jarrod
Veteran Member
*****

Avatar
woot simpson

Posts: 1304
Reputation: 20
– / Male / Flag
Joined: Sep 2006
O.P. make putty session, without putty
i'm trying to write a program to write a program to tailor putty session then launch in plink
i was using python and had
code:
for line in open(os.path.dirname(sys.argv[0])+'/sessions/base', 'rU'):
    if "ProxyPassword" in line:
        line = line.replace("ProxyPassword\\", "ProxyPassword\\" + listy[3] + chr(92)
       
                           
    if "ProxyUsername" in line:
        line = line.replace("ProxyUsername\\",  "ProxyUsername\\" + listy[2] + chr(92)

and the end of the second if statement is some invalid syntax. how do i avoid it?
( i tried using double slashes but the result was the same)

This post was edited on 12-01-2008 at 09:45 AM by Jarrod.

[Image: 5344.png]
[Image: sig.png]

A.k.a. The Glad Falconer














12-01-2008 09:02 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
make putty session, without putty - by Jarrod on 12-01-2008 at 09:02 AM
RE: make putty session, without putty - by Mnjul on 12-01-2008 at 11:29 AM
RE: make putty session, without putty - by Jarrod on 12-01-2008 at 11:48 AM
RE: make putty session, without putty - by wj on 12-01-2008 at 10:07 PM
RE: make putty session, without putty - by Jarrod on 12-02-2008 at 02:48 AM
RE: make putty session, without putty - by ShawnZ on 12-02-2008 at 05:56 AM
RE: make putty session, without putty - by Jarrod on 12-02-2008 at 06:21 AM
RE: make putty session, without putty - by ShawnZ on 12-02-2008 at 11:43 AM
RE: make putty session, without putty - by Jarrod on 12-03-2008 at 10:32 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On