Jani Hakala jahak...@iki.fi 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 *' in your tk_test.py
Jani Hakala jahak...@iki.fi 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 to solve
New submission from Jani Hakala jahak...@iki.fi:
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
Changes by Jani Hakala jahak...@iki.fi:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5329
___
___
Python-bugs-list mailing
Changes by Jani Hakala jahak...@iki.fi:
Added file: http://bugs.python.org/file13141/os-popen.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5329
Changes by Jani Hakala jahak...@iki.fi:
Removed file: http://bugs.python.org/file13140/os-popen.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5329