I want to start playing with tkinter, but there are some differences between 2 and 3. For this I use at the moment the following code: import sys
if sys.version_info[0] < 3: import Tkinter as tk import ttk else: import tkinter as tk from tkinter import ttk or can it better be done in another way? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof -- https://mail.python.org/mailman/listinfo/python-list