question: script to input data into a web page and then retrieve the result?

2006-10-21 Thread mxywp
-- 
http://mail.python.org/mailman/listinfo/python-list

question: script to input data into a web page and then retrieve the result?

2006-10-21 Thread mxywp
 Hi,Could someone help me with this or share an example script with me?Here is what I want to accomplish:(1) input 3 values into 3 boxes on a web page(2) there is an authentication code each time you access this page and I have to write this code into the fourth box on the same page(3) click "submit" button(4) this web page will turn into a page with a table having a value calculated from my inputs(5) extract this value into a local file(6) repeat the above for 12000 times.I would really appreciate it if someone can tell me how to do it using python script. I am new to python web programming.Thanks,mxywp   -- 
http://mail.python.org/mailman/listinfo/python-list

question: script to input data into a webpage and then retrieve the result?

2006-10-21 Thread mxywp



Could someone help me with this or share an example script with 
me?Here is what I want to accomplish:(1) input 3 values into 3 boxes 
on a web page(2) there is an authentication code each time you access this 
page and I have to write this code into the fourth box on the same page(3) 
click "submit" button(4) this web page will turn into a page with a table 
having a value calculated from my inputs(5) extract this value into a local 
file(6) repeat the above for 12000 times.I would really appreciate 
it if someone can tell me how to do it using python script. I am new to python 
web programming.Thanks,mxywp
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: question: script to input data into a webpage and then retrievethe result?

2006-10-25 Thread mxywp
Thank you, Christoph! I used twill to get my data. And Titus is really 
helpful in helping me learn how to use it.

Thank Paul, Haiyun and Dennis for your comments! Actually it turned out that 
the authentication code on that web page is kind of a joke. I finally found 
out that you could still submit a successful query and get desired result by 
ignoring the code. In rare cases the code is required. For most of the time 
it's useless. Isn't it funny?

Best,
mxywp
- Original Message - 
From: "Christoph Haas" <[EMAIL PROTECTED]>
To: 
Sent: Sunday, October 22, 2006 12:35 AM
Subject: Re: question: script to input data into a webpage and then 
retrievethe result?


> On Sunday 22 October 2006 08:06, mxywp wrote:
>> Could someone help me with this or share an example script with me?
>>
>> Here is what I want to accomplish:
>> (1) input 3 values into 3 boxes on a web page
>> (2) there is an authentication code each time you access this page and I
>> have to write this code into the fourth box on the same page (3) click
>> "submit" button
>> (4) this web page will turn into a page with a table having a value
>> calculated from my inputs (5) extract this value into a local file
>> (6) repeat the above for 12000 times.
>>
>> I would really appreciate it if someone can tell me how to do it using
>> python script. I am new to python web programming.
>
> Dark side way:
> http://www.idyll.org/~t/www-tools/twill.html
>
> Christoph
>
> P.S.: One posting is usually sufficient to get a reply.
> -- 
> http://mail.python.org/mailman/listinfo/python-list
> 


-- 
http://mail.python.org/mailman/listinfo/python-list