Re: Why chdir command doesn't work with client.get_transport() ?

2008-02-06 Thread Charles_hans
as been solved. I used the class channel's get_pty(), invoke_shell() and sendall() functions. Basically I used an interactive shell, so that I could issue commands one by one like using telnet. Charles 2/6 -- View this message in context: http://www.nabble.com/Why-chdir-command-doesn%27t-work-with-cli

Re: Why chdir command doesn't work with client.get_transport() ?

2008-02-06 Thread Gabriel Genellina
En Wed, 06 Feb 2008 12:39:55 -0200, <[EMAIL PROTECTED]> escribió: > If I had access to the > list from where I currently work any other way I would use that. Have you Web access? You can read *and* post messages using: Google Groups http://groups.google.com/group/comp.lang.python/ Gmane http:

Re: Why chdir command doesn't work with client.get_transport() ?

2008-02-06 Thread Hrvoje Niksic
[EMAIL PROTECTED] writes: > However I do understand where your coming from. You are right, I'm a Lotus > Notes user. If I didn't have to use it I wouldn't. If I had access to the > list from where I currently work any other way I would use that. Have you tried www.gmane.org? -- http://mail.pytho

Re: Why chdir command doesn't work with client.get_transport() ?

2008-02-06 Thread Steve Holden
[EMAIL PROTECTED] wrote: > > > > >> I try not to top-post in this group, but the strange formatting of the >> message makes this advisable, as I am sure many people won't even >> persist in reading down as far as the "content". >> >> Can I make a wild-assed guess that you are a Lotus Notes user

Re: Why chdir command doesn't work with client.get_transport() ?

2008-02-06 Thread Matthew_WARREN
> I try not to top-post in this group, but the strange formatting of the > message makes this advisable, as I am sure many people won't even > persist in reading down as far as the "content". > > Can I make a wild-assed guess that you are a Lotus Notes user reading > python-list? Please try an

Re: Why chdir command doesn't work with client.get_transport() ?

2008-02-06 Thread Steve Holden
python-list-bounces+matthew.warren=uk.bnpparibas.com@ > >python.org > Subject > Re: >

Re: Why chdir command doesn't work with client.get_transport() ?

2008-02-06 Thread Matthew_WARREN
Re: Why chdir command doesn't work with client

Re: Why chdir command doesn't work with client.get_transport() ?

2008-02-06 Thread Matthew_WARREN
Subject Re: Why chdir command doesn't work with 05/02/2008 19:39 client.get_tran

Re: Why chdir command doesn't work with client.get_transport() ?

2008-02-05 Thread Martin v. Löwis
> Do you think that paramiko can replace telnet in my application? Thanks. You need to use .invoke_shell(), then send() and recv(). Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: Why chdir command doesn't work with client.get_transport() ?

2008-02-05 Thread Charles_hans
python-list-bounces+matthew.warren=uk.bnpparibas.com@ > >python.org > > Subject

Re: Why chdir command doesn't work with client.get_transport() ?

2008-02-05 Thread Matthew_WARREN
python.org Subject Why chdir command doesn't work with

Re: Why chdir command doesn't work with client.get_transport() ?

2008-02-03 Thread Charles_hans
ind something equivalent to Telnet in paramiko. Charles 2/3/2008 -- View this message in context: http://www.nabble.com/Why-chdir-command-doesn%27t-work-with-client.get_transport%28%29---tp15248798p15256088.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list

Re: Why chdir command doesn't work with client.get_transport() ?

2008-02-03 Thread Martin v. Löwis
> import paramiko > def exec_command(trans, command): > chan = trans.open_session() > chan.exec_command(command) > stdin = chan.makefile('wb') > stdout = chan.makefile('rb') > stderr = chan.makefile_stderr('rb') > return stdin, stdout, stderr > def main(): > client = par

Why chdir command doesn't work with client.get_transport() ?

2008-02-02 Thread Charles_hans
here. Please help. Thanks! Charles 2/2 -- View this message in context: http://www.nabble.com/Why-chdir-command-doesn%27t-work-with-client.get_transport%28%29---tp15248798p15248798.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list

chdir() problem

2007-11-27 Thread Hodginshut
I am trying to get a hold of anyone at Fenix in Thailand. Can you be of any help? Pizza Hut London, Ont. Canada -- http://mail.python.org/mailman/listinfo/python-list

Re: chdir()

2007-05-08 Thread HMS Surprise
ame, directory name, or volume > > label syntax is incorrect: 'c:\twill'. > > Backslash-t is a tab character, so you're trying to chdir to > C:will, which is not a valid path name. Use a forward slash, double > up the backslash, or use a raw string literal: > &g

Re: chdir()

2007-05-08 Thread Carsten Haese
Backslash-t is a tab character, so you're trying to chdir to C:will, which is not a valid path name. Use a forward slash, double up the backslash, or use a raw string literal: os.chdir("c:/twill") os.chdir("c:\\twill") os.chdir(r"c:\twill") HTH, -- Carsten Haese

Re: chdir()

2007-05-08 Thread Basilisk96
On May 8, 3:54 pm, HMS Surprise <[EMAIL PROTECTED]> wrote: > Tried executing os.chdir("c:\twill") from a python Tk shell and got > the error message: > > WindowsError: [Error 123] The filename, directory name, or volume > label syntax is incorrect: 'c:\twill'. > > I have the directory exists as I c

Re: chdir()

2007-05-08 Thread Jarek Zgoda
HMS Surprise napisał(a): > Tried executing os.chdir("c:\twill") from a python Tk shell and got > the error message: > > WindowsError: [Error 123] The filename, directory name, or volume > label syntax is incorrect: 'c:\twill'. > > I have the directory exists as I copied the name from the explorer

Re: chdir()

2007-05-08 Thread Necmettin Begiter
On Tuesday 08 May 2007 22:54:39 HMS Surprise wrote: > WindowsError: [Error 123] The filename, directory name, or volume > label syntax is incorrect: 'c:\twill'. > > What is wrong with the syntax? Try 'c:\\twill' because the '\' character is the escape character. Eg: \n is new-line (aka crlf) \t is

chdir()

2007-05-08 Thread HMS Surprise
Tried executing os.chdir("c:\twill") from a python Tk shell and got the error message: WindowsError: [Error 123] The filename, directory name, or volume label syntax is incorrect: 'c:\twill'. I have the directory exists as I copied the name from the explorer window that was open to it. What is