I use some key bindings in my program.  They are declared
like this:

        root.bind("<Alt_L>" + "q", quit)
        root.bind("<Alt_R>" + "q", quit)
        root.bind("<Alt_L>" + "Q", quit)
        root.bind("<Alt_R>" + "Q", quit)

The above binds both Alt keys with upper and lower case 'q'.
Is there a way to combine the statements above into one
statement?

-- 
<Wildman> GNU/Linux user #557453
May the Source be with you.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to