我尝试 使用 Python填写此表格: http ://bips.u-strasbg.fr/GPAT/。不幸的是,它部分是用 JavaScript 编写的,所以我不能用 Mechanize 做到这一点。做这个的最好方式是什么?
有问题的代码片段:
<div style="width:150px; float:left">
Species:<br>
<input type="radio" name="espece" value="human" onClick="Human(this.form, this.form.genome_assembly)" /> Human
<br>
<input type="radio" name="espece" value="mouse" OnClick="Mouse(this.form, this.form.genome_assembly)" /> mouse
<br>
<input type="radio" name="espece" value="zebrafish" OnClick="zebrafish(this.form, this.form.genome_assembly)" /> zebrafish
<br>
<input type="radio" name="espece" value="thaliana" OnClick="thaliana(this.form, this.form.genome_assembly)" /> A. thaliana
<br>
<input type="radio" name="espece" value="melanogaster" OnClick="melanogaster(this.form, this.form.genome_assembly)" /> D. melanogaster
</div>