Code: Alles auswählen
from twill.commands import go, showforms, formclear, fv, submit, show, follow, formfile, info, showhistory, save_html
go('http://lokalisten.de/web/user/editAccountImage.do?method=edit')
showforms()
formclear('1')
fv("1", "j_username", "[username]")
fv("1", "j_password", "[password]")
submit('0')
formclear('3')
formfile("3", "file", "[Filepath to Image]")
showforms()
submit('5')
save_html("t.html")
jemand eine idee?