Category : pysimplegui

My code stopped working quite literally overnight, due to an issue with Tkinter. I’m using PySimpleGui for my project, which was working the previous day. When I run my program it showed the bellow error: File "E:/Projekty Python/dcs_assistant/gui_and_video.py", line 1, in <module> import PySimpleGUI as sg File "C:UserspawniMiniconda3envsdcs_assistantlibsite-packagesPySimpleGUI__init__.py", line 2, in <module> from .PySimpleGUI import ..

Read more

I am trying to update a PySimpleGUI inputText field. This is my code: import PySimpleGUI as sg layout=[ [sg.InputText(”,key=’-IN-‘)], [sg.InputText(”,readonly=’true’,key=’-RESULT-‘)] ] win=sg.Window(‘Test’,layout) while True: event,values=win.Read() win[‘-RESULT-‘].update(win[‘-IN-‘].get()) But i get an error like this : Traceback (most recent call last): File "/data/user/0/ru.iiec.pydroid3/files/temp_iiec_codefile.py", line 9, in <module> win[‘-RESULT-‘].update(win[‘-IN-‘].get()) File "/data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.9/site-packages/PySimpleGUI/PySimpleGUI.py", line 1666, in update self.TKEntry.icursor(tk.END) File "/data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.9/tkinter/__init__.py", ..

Read more