[Tutor] Removing/Handing large blocks of text

2004-12-08 Thread Jesse Noller
Hello, I'm trying to do some text processing with python on a farily large text file (actually, XML, but I am handling it as plaintext as all I need to do is find/replace/move) and I am having problems with trying to identify two lines in the text file, and remove everything in between those two l

Re: [Tutor] Removing/Handing large blocks of text

2004-12-09 Thread Jesse Noller
On Wed, 8 Dec 2004 15:11:55 +, Max Noel <[EMAIL PROTECTED]> wrote: > > > > On Dec 8, 2004, at 14:42, Jesse Noller wrote: > > > Hello, > > > > I'm trying to do some text processing with python on a farily large > > text file (actuall

Re: [Tutor] SSH using python

2007-06-04 Thread Jesse Noller
On 6/4/07, Chandrashekar <[EMAIL PROTECTED]> wrote: Hi , Can anyone tell me how to do ssh to a machine using python and execute programs on the remote machine? Thanks in advance. Regards, Chandru -- Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now

Re: [Tutor] SSH commands in Python on Linux

2005-08-11 Thread Jesse Noller
On 8/10/05, Bernard Lebel <[EMAIL PROTECTED]> wrote: > Hello, > > I'm trying to make a script to send a SSH command from a Linux > computer to another Linux compter. > > The Python syntax I'm using... > > > import os > os.system( 'ssh [EMAIL PROTECTED] "ls"' ) > > > Now the problem is that I'