The Python Oracle

Checkbox input using python mechanize

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Lost Meadow

--

Chapters
00:00 Question
00:51 Accepted answer (Score 12)
01:04 Thank you

--

Full question
https://stackoverflow.com/questions/6833...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #checkbox #mechanize

#avk47



ACCEPTED ANSWER

Score 12


One way that I have done it is

br.find_control("live").items[0].selected=True