in reply to Re: Tk Error
in thread Tk Error
What did you try? I ran your code and got exactly the error OP reported - when I pressed the return key in the text edit field.
After altering the code as suggested in my reply (posted over an hour before your reply) the code works as the OP requires. You could try it (the modified code) yourself as a check. You need to type something into the text edit control then press return and observe that whatever you typed is printed to the console.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Tk Error
by k0rn (Acolyte) on Mar 28, 2010 at 02:54 UTC |