浅谈python3.6的tkinter运行问题

python3.6在运行tkinter时要选择 run as Python unit-test,

否则报错 ModuleNotFoundError: No module named 'tkinter.ttk'; 'tkinter' is not a package

稍微提醒一下各位,仅此而已。

以上这篇浅谈python3.6的tkinter运行问题就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持来客网。