Thanks Nikolay for the clarification :-)

El 30/11/15 a las 05:10, Nikolay Karelin escribió:
Hello,

ttk stays for 'themed tk'. According to Python 3 docu, it should be imported as

from  tkinter.ttk  import  *

see here https://docs.python.org/3.5/library/tkinter.ttk.html

In general, as Spyder is just IDE, I'd advise to check the issues like thin in separate terminal with Python interpreter.

Cheers,
Nikolay

On Sunday, November 29, 2015 at 5:57:34 PM UTC+3, [email protected] wrote:

    I have installed on Ubuntu 14.04 LS pyhon3, python3-tk and spyder3
    (2.3.0),
    After inserting the lines:
    import tkinter as tk
    from tkinter import *
    from ttk import *

    I get the error: ImportError: No module named 'ttk'

    Is this a spyder issue?




--
You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to