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


">

(original) (raw)

Hi Klaus,

Tkinter was renamed as part of the stdlib reorganization (see the PEP 3108 : http://www.python.org/dev/peps/pep-3108/#tkinter-package for 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