mechanize

Which is best in Python: urllib2, PycURL or mechanize?

Which is best in Python: urllib2, PycURL or mechanize? Question: Ok so I need to download some web pages using Python and did a quick investigation of my options. Included with Python: urllib – seems to me that I should use urllib2 instead. urllib has no cookie support, HTTP/FTP/local files only (no SSL) urllib2 – …

Total answers: 8

Python mechanize – two buttons of type 'submit'

Python mechanize – two buttons of type 'submit' Question: I have a mechanize script written in python that fills out a web form and is supposed to click on the ‘create’ button. But there’s a problem, the form has two buttons. One for ‘add attached file’ and one for ‘create’. Both are of type ‘submit’, …

Total answers: 4