[Tkinter-discuss] problem with pylab/tkinter?

Alex Ter-Sarkissov sigma.z.1980 at gmail.com
Sun Oct 24 10:10:59 CEST 2010

hi, the problem might be bit silly...

I'm desiging a GUI with Tkinter. Everythin worked (just couple buttons and
entries). Then I decided I need to import pylab:

from pylab import *

as a result, I'm getting an error message

TypeError: __init__() got an unexpected keyword argument 'text'

which refers to the command line in def __init__(self)

self.start_but=Button(root,text='Generate starting population')

Like I said earlier, if I do not import pylab/matplotlib, no error messages
are received.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20101024/32672847/attachment.html>

More information about the Tkinter-discuss mailing list