I’m using PySimpleGUI to generate a window with a few hundred inputtext fields pre-filled by a pandas dataframe. I’d like to be able to allow the user to add a an empty set of inputtext fields so they might fill in another row manually. Is there a way to append new inputtext fields to my ..
My issue: i am trying to auto generate code from a json array with the products of an order. I want to create a layout where each product line, has an frame with an own checkbox and info and the frames are sorted as a list. this is my desired layout: Wireframe of layout However ..
I’m coding a Python program to automate image processing tasks (threshold images, detect borders, optical flow, etc.) using PySimpleGUI, openCV and Numpy. However, when I run all the code and press the button that takes me to the function to obtain the image with border detection through the graphical interface, only a black box appears, ..
I have an image viewer that shows the selected image. However I have different sizes of images and I would like to access the selected image size in order to have a fixed GUI. Otherwise GUI resizes and images are not showing properly. Is there any way to see the size of an image? After ..
so I’ve made a script with Selenium that inputs into a form details from a CSV. The goal is to make a GUI now and I’ve done that too , the tricky part now that I can’t wrap my head around is the combining of the two. My GUI: import PySimpleGUI as sg def make_window(theme): ..
I am an absolute beginner in programming and trying hard to debug this program. here is a link for my program -Memory card game- .. (https://py2.codeskulptor.org/#user48_pS4YUXdmVV_0.py), any simple idea!! Thanks in advance. Source: Python..
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 ..
I have a project where I find the heart rate of an user and have to plot it on a graph against the target zone’s which I find according to another heart rate. I got this code for plotting a list of values on a line graph off of the pysimplegui demo’s, however I am ..
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", ..
When I want to get the index of a selected item in a listbox, and the listbox is empty i get a error. window[‘Listbox’].get_indexes() ———————————— IndexError: tuple index out of range The original list that I use in my program is not empty, but it’s changing so it may be empty and in that case ..