The Python Oracle

Checkbox input using python mechanize

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

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

--

Chapters
00:00 Checkbox Input Using Python Mechanize
00:39 Accepted Answer Score 12
00:48 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