[Tkinter-discuss] problem with pylab/tkinter?
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tkinter-discuss