Re: Fill In a Form Automatically

2007-12-10 Thread Victor Subervi
Thanks! Mechanize looks really cool :)) Victor On Dec 7, 2007 4:11 PM, Ismail Dönmez [EMAIL PROTECTED] wrote: Friday 07 December 2007 22:06:23 tarihinde Victor Subervi şunları yazmıştı: Hi; I'm trying to fill in a Zope form automatically. I have this script, which works great

Re: Fill In a Form Automatically

2007-12-07 Thread Ismail Dönmez
Friday 07 December 2007 22:06:23 tarihinde Victor Subervi şunları yazmıştı: Hi; I'm trying to fill in a Zope form automatically. I have this script, which works great for creating the page...but how do I write to it? Use Mechanize [0]. [0] http://wwwsearch.sourceforge.net/mechanize

Fill In a Form Automatically

2007-12-07 Thread Victor Subervi
Hi; I'm trying to fill in a Zope form automatically. I have this script, which works great for creating the page...but how do I write to it? import urllib2 theurl = 'example.com' protocol = 'http://' my_id = test text = Hello, world! realm_dir = '/a_dir/' realm1 = 'manage_addProduct