Код: Выделить всё
def nothing_window():
window = tkinter.Tk()
window.mainloop()
Код: Выделить всё
Traceback (most recent call last):
File "
", line 1, in
nothing_window()
File "/Users//Documents//.py", line 232, in nothing_window
window = tkinter.Tk()
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/tkinter/__init__.py", line 2346, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: error getting working directory name: not owner
Могут ли они что-нибудь сделать, чтобы использовать Tkinter в программах Python, запускаемых из IDLE?
Подробнее здесь: https://stackoverflow.com/questions/789 ... er-windows
Мобильная версия