Sending POST parameters with Python using Mechanize
问题 I want to fill out this form using Python: <form method="post" enctype="multipart/form-data" id="uploadimage"> <input type="file" name="image" id="image" /> <input type="submit" name="button" id="button" value="Upload File" class="inputbuttons" /> <input name="newimage" type="hidden" id="image" value="1" /> <input name="path" type="hidden" id="imagepath" value="/var/www/httpdocs/images/" /> </form> As you can see, there are two Parameters that are named exactly the same, so when I'm using