Re: Need help running external program

2005-03-03 Thread Rigga
Thanks to all for your help it is now working, I rant he code through a debugger and found that the input file I was using to create my list of addresses to wget had newlines in them and were therefore breaking my command line. All your advice has been appreciated. RiGGa -- http

Re: Need help running external program

2005-03-02 Thread Rigga
Tim Jarman wrote: > Rigga wrote: > >> Brian van den Broek wrote: >> >>> Rigga said unto the world upon 2005-02-27 15:04: > > (snip stuff about raw strings) > >> Thanks for all your help with this it is appreciated, one further >> question

Re: Need help running external program

2005-03-02 Thread Rigga
Brian van den Broek wrote: > Rigga said unto the world upon 2005-02-27 15:04: >> Tim Jarman wrote: > > > >>>No, the r was the point - it's there to tell Python not to do any >>>escaping on the string. Try it again with the r and see what happens. &g

Re: Need help running external program

2005-02-27 Thread Rigga
Tim Jarman wrote: > Rigga wrote: > >> Pink wrote: >> >>> Rigga wrote: >>> >>>> Hi, >>>> >>>> I am running the line of code below from a shell script and it works >>>> fine, however I am at a total loss on how

Re: Need help running external program

2005-02-27 Thread Rigga
Pink wrote: > Rigga wrote: > >> Hi, >> >> I am running the line of code below from a shell script and it works >> fine, however I am at a total loss on how i can run it from within a >> Python script as every option I have tried fails and it appears to b

Need help running external program

2005-02-27 Thread Rigga
27;\r' '\n' | tr \' \" | sed -n 's/.*url="\([^"]*\)".*/\1/p' I want to use the above code in my program by using popen2 so i can query the results i.e. output, input = popen2("the code here") print output Any help would be apprec

Re: How can I Fill in web form and post back

2005-02-16 Thread Rigga
Joe Francia wrote: > On Wed, 16 Feb 2005 19:05:35 GMT, Rigga <[EMAIL PROTECTED]> wrote: > >> Joe Francia wrote: >> >>> Rigga wrote: >>>> Hi, >>>> >>>> I am looking for the best way to use Python to get a web page, look for >

Re: How can I Fill in web form and post back

2005-02-16 Thread Rigga
Joe Francia wrote: > Rigga wrote: >> Hi, >> >> I am looking for the best way to use Python to get a web page, look for >> some particular fields on a form, fill in the fields and submit the form >> but I have no idea where to start - any pointers appreciate

How can I Fill in web form and post back

2005-02-15 Thread Rigga
Hi, I am looking for the best way to use Python to get a web page, look for some particular fields on a form, fill in the fields and submit the form but I have no idea where to start - any pointers appreciated many thanks Rigga -- http://mail.python.org/mailman/listinfo/python-list

How do I cut parts from a text file

2004-12-21 Thread Rigga
RiGGa -- http://mail.python.org/mailman/listinfo/python-list