tags:

views:

86

answers:

1

Hello all, im making some script by use python and lxml beautifulsoup.

while im making i was encounter some problem..and i was try to resolve it but failed always.

i want to post some word in following at the end of web page.

to leave some words in this page, have to login use with id and password

here is test id and pass:

pass: 1qaz2wsx

id : jimajo

http://news.khan.co.kr/kh%5Fnews/khan%5Fart%5Fview.html?artid=200911131819041&code=960100#reWrite

how to input word in this page? i want to use lxml or beautifulsoup or win32com interface.

anyone can help much appreciate!

thanks in advance

+1  A: 

lxml is a xml parser. BeautifulSoup is a HTML parser.

Both are unsuited to the job. They don't fill HTML forms. They parse HTML.

win32com is for controlling windows components. It also has nothing to do with HTML forms.

Use mechanize.

nosklo