Jani Hakala added the comment:
You can do something like
import gui
gui.start()
in your Panel.draw() and 'from Tkinter import *' in the gui module which
should contain your GUI-related code.
Or you could just do 'from Tkconstants import *'
Jani Hakala added the comment:
The script tk_test.py produces the window with one button after one
removes the line 'from Tkinter import *' and adds line 'from Tkinter
import Tk, Button' inside Panel.draw() as a first line.
So importing Tkinter after the fork seems
Jani Hakala added the comment:
I too had trouble with the tix that is shipped with python 2.6(.1)
The version seems the bad one that causes those 'unknown color name'
errors. I was able to see the error message only after following the
useful advice of G. Polo in issue 639266.
I down
Changes by Jani Hakala :
Removed file: http://bugs.python.org/file13140/os-popen.diff
___
Python tracker
<http://bugs.python.org/issue5329>
___
___
Python-bugs-list mailin
Changes by Jani Hakala :
Added file: http://bugs.python.org/file13141/os-popen.diff
___
Python tracker
<http://bugs.python.org/issue5329>
___
___
Python-bugs-list mailin
Changes by Jani Hakala :
--
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue5329>
___
___
Python-bugs-list mailing list
Unsubscri
New submission from Jani Hakala :
The implementation in python 2.6 expects the cmd argument to be a string.
The documentation - help(os.popen3) - states that the cmd argument can
be a sequence on Unix.
This difference may cause programs that work with python 2.5 to fail
with python 2.6
I have