How to enable a button when some text is entered in tkinter entry widget?
<p>Currently i have a scenario where buttons are disabled.Now i want to enable the buttons when some input is entered by the user in tkinter entry widget.</p>

<p>Please suggest.</p>

<p>Thanks!</p>

<p>You can follow this <a href="http://stackoverflow.com/questions/19148242/tkinter-entry-widget-is-detecting-input-text-possible">question</a> and as @Furas said you can bind function to Entry, something like this</p>

<pre><code>from Tkinter import Tk, Entry   
root = Tk()

frame = Frame(root) #"frame" represents the parent window, where the entry widget should be placed.

frame.pack()
#GUI widgets
entry = Entry(frame, width=80) #The syntax of an entry widget 

entry.pack(side='right')

#callbacks
def enableEntry():
    entry.configure(state="normal")
    entry.update()

def disableEntry():
    entry.configure(state="disabled")
    entry.update()



def click(key):
    #print the key that was pressed
     print key.char    


var = StringVar()
disableEnButton = Radiobutton(frame, text="Disable", variable=var, value="0", command=disableEntry)
disableEnButton.pack(anchor=W)
enableEnButton = Radiobutton(frame, text="Enable", variable=var, value="1", command=enableEntry)
enableEnButton.pack(anchor=W)


#Bind entry to any keypress
entry.bind("&lt;Key&gt;", click)   
root.mainloop() #This is necessary for the event loop to service events such as button clicks
</code></pre>

python tkinter