[OpenIndiana-discuss] python3

2017-01-25 Thread Apostolos Syropoulos via openindiana-discuss
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() I get python3.4 hello.py Traceback (most recent call last): File "hello

Re: [OpenIndiana-discuss] python3

2017-01-25 Thread Alexander Pyhalov
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()

Re: [OpenIndiana-discuss] python3

2017-01-26 Thread Apostolos Syropoulos via openindiana-discuss
>> 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 * Indeed this is correct. However, after changing Tkinter to tkinter I get $ python3.4 hello.py Traceback (m