POST value related question

james27 southpolepen at hotmail.com
Mon Oct 12 11:20:44 EDT 2009


hello
im using mechanize .
i want to send some post value by use mechanize.
but problem is one of POST value in html source is 
looks like below.

post.category.categoryNo=[*1]

anyway so i was tried several method but all failed.

here is source .
.
.
br = mechanize.browser()
br.select_form(nr=0)   
br.form['post.category.categoryNo']=[*1]
br.form['contents.contentsValue'] = 'hello'
br.submit() 
.
.

if anyone who know please help me .
thanks in advance.

-- 
View this message in context: http://www.nabble.com/POST-value-related-question-tp25857587p25857587.html
Sent from the Python - python-list mailing list archive at Nabble.com.




More information about the Python-list mailing list