Tkinter problem in Python 3
Hi! I am the lead developer of SimPy (http://simpy.sourceforge.net) . Currently, I am porting SimPy to Python 3. SimPy provides Tk/Tkinter-based GUI and plot facilities. I find that "import Tkinter" does not work in Python 3, only "import tkinter". What are the changes for Tkinter under Python 3? Thanks for your help! Klaus Müller
On Sat, Feb 21, 2009 at 7:47 AM, Klaus Müller <kgmuller@xs4all.nl> wrote:
Hi! I am the lead developer of SimPy (http://simpy.sourceforge.net) . Currently, I am porting SimPy to Python 3.
SimPy provides Tk/Tkinter-based GUI and plot facilities.
I find that "import Tkinter" does not work in Python 3, only "import tkinter".
What are the changes for Tkinter under Python 3?
Tkinter lives in a real package now, named "tkinter". Besides that it hasn't changed much, but this list is inappropriate for this, may I ask you to move the questions related to tkinter to the tkinter-discuss list ?
Thanks for your help!
Klaus Müller
Regards, -- -- Guilherme H. Polo Goncalves
Hi Klaus, Tkinter was renamed as part of the stdlib reorganization (see the PEP 3108 :http://www.python.org/dev/peps/pep-3108/#tkinter-packagefor more details). The 2to3 tool should handle all those changes automatically, by the way. Cheers, Quentin On Sat, Feb 21, 2009 at 11:47 AM, Klaus Müller <kgmuller@xs4all.nl> wrote:
Hi! I am the lead developer of SimPy (http://simpy.sourceforge.net) . Currently, I am porting SimPy to Python 3.
SimPy provides Tk/Tkinter-based GUI and plot facilities.
I find that "import Tkinter" does not work in Python 3, only "import tkinter".
What are the changes for Tkinter under Python 3?
Thanks for your help!
Klaus Müller
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/qgallet%40gmail.com
participants (3)
-
Guilherme Polo -
Klaus Müller -
Quentin Gallet-Gilles