I’m working on an application to edit DNA sequences and I’d like to have a tkinter text widget in which only letters atgcATGC can be entered.
Is there any easy way to do that?
Thanks,
David
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I finally found a way to have the exact behavior I want: