○質問
Pythonに関する質問です。
spyderでGUI作成をしようとしたところ、下記のエラーが出ました。
一方、Jupyter Notebookでは問題なく実行できました。
この違いは、何が原因でしょうか?
○エラーメッセージ
terminating with uncaught exception of type NSException
○コード
import tkinter
root = tkinter.Tk()
root.title("Window title")
root.geometry("400x300+1000+10")
root.mainloop()
○バージョン
Python 3.6.5
tkinter 8.6
あなたの回答
tips
プレビュー