[OpenIndiana-discuss] python3

Alexander Pyhalov alp at rsu.ru
Wed Jan 25 08:10:59 UTC 2017


On 01/25/17 11:00 AM, Apostolos Syropoulos via openindiana-discuss wrote:
> Hello,
>
> I am trying to use python3 for a little introductory course
> and idle is not working. If I try the following program
>
> from Tkinter import *
> root = Tk()
> w = Label(root, text="Hello, world!")
> w.pack()
> root.mainloop()

Hello.
For python 3 it seems it should be
from tkinter import *

https://docs.python.org/3/library/tkinter.html


-- 
С уважением,
Александр Пыхалов,
программист отдела телекоммуникационной инфраструктуры
управления информационно-коммуникационной инфраструктуры ЮФУ



More information about the openindiana-discuss mailing list