Windows 10, Python 3.8, tkinter
В консоли:
Traceback (most recent call last):
File "C:\Users\Алексей\JupiterRoot\.ipynb_checkpoints\geometry.py", line 5, in <module>
a_window.geometry('600*800+50+20')
File "C:\Users\Алексей\AppData\Local\Programs\Python\Python310\lib\tkinter\__init__.py", line 2073, in wm_geometry
return self.tk.call('wm', 'geometry', self._w, newGeometry)
_tkinter.TclError: bad geometry specifier "600*800+50+20"
[Finished in 781ms]
Код:
from tkinter import *
a_window = Tk()
a_window.geometry('600*800+50+20')
a_window.mainloop()
В консоли:
Traceback (most recent call last):
File "C:\Users\Алексей\JupiterRoot\.ipynb_checkpoints\geometry.py", line 5, in <module>
a_window.geometry('600*800+50+20')
File "C:\Users\Алексей\AppData\Local\Programs\Python\Python310\lib\tkinter\__init__.py", line 2073, in wm_geometry
return self.tk.call('wm', 'geometry', self._w, newGeometry)
_tkinter.TclError: bad geometry specifier "600*800+50+20"
[Finished in 781ms]