Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
47 views

I'm using FreeSimpleGUI v5.2.0.post1 in the default TKinter mode. I'd like to override something in the TKinter Listbox object, but I can't figure out how to access it. The FreeSimpleGui source code ...
Darien Marks's user avatar
0 votes
0 answers
43 views

I suspect this is a poorly posed question but I don't know how to do better. I frequently use pysimplegui and often use spyder for development. There is an unfortunate problem in that within spyder my ...
elaz's user avatar
  • 3
0 votes
0 answers
20 views

I have a project using the PySimpleGUI library. The application has many windows. The project is built as follows: def window_nr_2(): layout2 = [[sg.Button ('But A'), sg.Button ('But B')]] ...
Branc's user avatar
  • 1
0 votes
1 answer
100 views

I have used tkinter to organize pictures with text inside various frames on a canvas with a scrollbar. (as can be seen in the picture). I'm really struggling to achieve same functionalities with ...
Kjell's user avatar
  • 24
0 votes
1 answer
125 views

here is my code, i'm using PiSimpleGUI, which uses tkinter to create a simple GUI, import PySimpleGUI as sg # 创建一个简单的窗口 layout = [ [sg.Text('Hello, PySimpleGUI!')], [sg.Button('Click Me')] ] ...
huanghao's user avatar
0 votes
1 answer
62 views

I have a PySimpleGui table and I want to select two columns to quickly generate a graph, Is it possible to insert a checkbox in PysimpleGui table headings? Or Is there any other way I can Select both ...
Kreig's user avatar
  • 61
-2 votes
1 answer
83 views

On a ms-window app., I wish to update the button style "on-click" event, and keep it back to its original style "on-release". I tested at least these 2 ways, both driving to no ...
hornetbzz's user avatar
  • 9,405
0 votes
2 answers
56 views

This Multiline rerouting below works, but this is not matching what I exactly want: output_layout = [ [sg.Text("OUTPUT")], [sg.Multiline(size=(0,5), font='Courier 8', ...
hornetbzz's user avatar
  • 9,405
0 votes
1 answer
78 views

I have a GUI using PySimpleGUI with multiple plots which receives data from a bluetooth device. I'd like to plot the received data in real-time ideally as fast as the points are received. Right now ...
AuFries's user avatar
  • 45
0 votes
1 answer
118 views

When using the sample code on the terminal with 'python PYGtest.py': import PySimpleGUI as sg layout = [ [sg.Text('Hello, world!')] ] window = sg.Window('Hello Example', layout) while True: event, ...
Early Bird's user avatar
1 vote
1 answer
57 views

So, I'm working on a GUI using pysimplegui the project is a compound interest calculator. So, when I hit the complete button, it should give me a total after so many years, but I just get 0.00. # make ...
Nelson Malbone's user avatar
1 vote
1 answer
36 views

I have two radio buttons. When the .csv button is selected, I want there to only be one input box. when .rsp is selected, I have a new input box appear. It creates space to fit between the radio ...
Dominick Cole's user avatar
0 votes
2 answers
143 views

I'm trying to open a tkinter window using PySimpleGUI towards the end of a lengthy program. def raise_above_all(window): window.attributes('-topmost', 1) window.attributes('-topmost', 0) ...
spikelucky's user avatar
0 votes
1 answer
66 views

I am newer to Python, and I originally had error handling working as I liked. I wanted to add a progress bar using PySimpleGUI and after some research discovered that I needed to use threading. Once I ...
Dominick Cole's user avatar
0 votes
1 answer
34 views

The program is intended to use PySimpleGUI to open a folder, and then I have a function to search through the folder and store all the variants of step files within that folder and return a list of ...
Dominick Cole's user avatar
0 votes
1 answer
83 views

I'm trying to open an image from a folder in my network, but python can't find it. It is a PySimpleGUI small app that shows images. This is the code related: img1 = os.path.join(values['-FOLDER-'], ...
Clopz's user avatar
  • 11
0 votes
0 answers
36 views

I found out that i have to do window3.read() in order to have it appear. I can't create a third window. the code works without error but it doesn't display a window the code ends Currently I'm trying ...
Someone Here's user avatar
0 votes
2 answers
417 views

How do I use yes/no popups on PySimpleGUI? I've searched everywhere, but the answers just aren't clear on this. At the moment, I am just trying to make a simple yes/no program so I can get my head ...
user26149746's user avatar
0 votes
2 answers
106 views

I wonder what does the parameter enable_events, do for a button (sg.Button). Indeed, when there is a button in a code, it is always sending an event in the .read(). You don't need to specify ...
Enrra's user avatar
  • 69
0 votes
4 answers
100 views

I am trying to create a password generator in Python. I'm starting off by writing a program to generate prime numbers to use when calculating RSA, and I found a program that I modified to display ...
user26149746's user avatar
-1 votes
1 answer
62 views

I try to a list of object for which I implement the __str__ method as asked by the documentation : https://docs.pysimplegui.com/en/latest/documentation/module/elements/combo/ import PySimpleGUIQt as ...
Draeli's user avatar
  • 162
0 votes
1 answer
78 views

I am writing Python code for a 10.1 inch touchscreen to display. I am using PiSimpleGUI for the interface. When I use popup windows, I am not able to click on the "ok" or "cancel" ...
Taylor Fettig's user avatar
0 votes
1 answer
50 views

I am trying to build a simple gui including a qr-code reader to send data to a remote server in python on Ubuntu for a school-project. I have set up a simple server to receive messages from the ...
Puki's user avatar
  • 41
0 votes
2 answers
62 views

import PySimpleGUI as sg from my_scripts import * from my_constants import * import sys import glob import yt_dlp import threading import time global thread2 sg.LOOK_AND_FEEL_TABLE['MyCreatedTheme'] ...
LetzerWille's user avatar
  • 5,696
0 votes
1 answer
52 views

I do not see why i am getting this error: Traceback (most recent call last): File ....\play_download.py", line 55, in url = values['-url-'] ~~~~~~^^^^^^^^^ KeyError: '-url-' This error appears ...
LetzerWille's user avatar
  • 5,696
0 votes
0 answers
38 views

I am creating an application that is running both on Windows and Linux. I have a main Window and some settings popups, due to very specific targeted user it is absolutely mandatory for the popups not ...
Sofiia Kozoriz's user avatar
0 votes
1 answer
35 views

I wrote this code to try to create a column of buttons and a table next to them. However when I set expand_x=True for the table, the columns of the table glitch out as shown in this short video: https:...
Blokz101's user avatar
0 votes
0 answers
29 views

In the below code my attempted work flow is: 1.) to browse for the selected geotiff and shapefile. 2.) click the 'Plot Me' button which will plot the two files together. 3.) click the 'Export Me' ...
Patstro's user avatar
  • 79
0 votes
1 answer
40 views

My app has different layouts that update visibily to hide and unhide the layouts. Hiding these layouts and showing a different one is done through event calls(button clicks). The problem is that when ...
Vhirtue's user avatar
0 votes
0 answers
186 views

i have a python project where i use QReader to detect and decode a qr code from images i sent to the app. The problem is, the first time the project runs "qreader.detect_and_decode" it opens ...
Hugo Almeida's user avatar
0 votes
1 answer
32 views

I use code as below to set layout, I want to two buttons in vertical not in horizontal, what can I do? layout = [ [ sg.Input(readonly=True, expand_x=True, key='Main', ...
mikezang's user avatar
  • 2,509
0 votes
3 answers
90 views

I didn't find anything like my problem already posted. I did an application using PySimpleGUI and to realize the .exe i used pyinstaller and used the --icon command using both the image .ico address ...
LucaT's user avatar
  • 11
0 votes
0 answers
409 views

I installed PySimpleGUI according to the official documentation (using the 'python3 -m pip install pysimplegui') command. And I tried to run the official example: Example It shows: dingkwanmok@...
Dingkwan's user avatar
1 vote
1 answer
81 views

Basically I have the same issue than this one : issue I tried this before but I get an error message, I think because I am using frames (I think). As you can see I tried using window....
Enrra's user avatar
  • 69
0 votes
0 answers
110 views

Attached is my code with edits reflecting what I've tried so far to get it to run. The app is supposed to show a window with real-time readings of two temperature sensors and a Hall-effect flow sensor....
John Zbesko's user avatar
0 votes
1 answer
101 views

I have a program adding and removing elements on the screen with + and - buttons, the problem is the fact that these buttons don't change position automatically after this change of display like I ...
Enrra's user avatar
  • 69
0 votes
1 answer
58 views

I have been working on this tree in PysimpleGUI, suddenly the insert method decides to stop working when I give it a list full of data. I debugged nearly everything about it, the function insert ...
m__'s user avatar
  • 23
0 votes
3 answers
200 views

It's my first try at a pysimplegui application. Before I was using tkinter a lot but interface doesn't look that pretty and modern looking. What I want to do is to have a window with 3 button, 2 to ...
gamer388's user avatar
0 votes
0 answers
49 views

Is there a way to make a background using the graph function and drawrectangle. I want to have all of my buttons overlay the graph and have the rectangles just act as a background to make the gui look ...
Taylor Fettig's user avatar
0 votes
1 answer
47 views

I'm new to PySimpleGUI, I want to implement this functionality: There are two radio buttons. When I select one of them, the text input box below becomes editable. When I select the other one, the text ...
J Peg's user avatar
  • 17
0 votes
1 answer
123 views

(Explanation of my problem at the end) Here is an example of a dynamic layout that add a Frame when I click on a button. Launch state of the program : Then after button pressed : Here is the code : ...
Enrra's user avatar
  • 69
1 vote
2 answers
126 views

I'm pretty new to Python and have been working with PySimpleGUI. I have created a simple program in Windows 11 that opens Google when you press a button on the GUI. It works fine if Chrome is already ...
John Marinelli's user avatar
0 votes
0 answers
280 views

atal Python error: _Py_CheckRecursiveCall: Cannot recover from stack overflow. Python runtime state: initialized Current thread 0x00000001d7a61c40 (most recent call first): File "<frozen ...
Nishant Bhavsar's user avatar
0 votes
1 answer
52 views

In the example below, there is a row with more elements than fit the window. How can I detect the overflow? import PySimpleGUI as sg layout = [[sg.Text(f"word{i}") for i in range(30)]] ...
tmalsburg's user avatar
  • 346
-1 votes
1 answer
72 views

I have an app that converts units(example Cm to Inch, etc). One function I want the app to have is to be able to change the units its converting, right now it only converts certain length elements but ...
Vhirtue's user avatar
0 votes
1 answer
79 views

I have been trying to make a ChatGPT extension that creates a window which takes in your voice as input and prints the response on the window and also says it using text-to-speech. When I run it, it ...
NDev's user avatar
  • 1
0 votes
1 answer
44 views

task_adding = [ [ pg.Text("Enter name of the task: ", size=(10, 1)), pg.InputText(key='-NAME-', do_not_clear=False) ], [ pg.Text("Enter prio: ")...
Marko Rabrenovic's user avatar
0 votes
0 answers
126 views

Could not fetch URL https://pypi.org/simple/pysimplegui/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/...
Ali Kangooni's user avatar
0 votes
1 answer
43 views

I have a dictionary with information : Facets = { 'Entity' : {'facet_type': 'Entity' , 'facet_parameters': ['IFC Class' , 'Predefined Type']}, 'Attribute' : {'facet_type': '...
Enrra's user avatar
  • 69
0 votes
0 answers
151 views

I wanted to simplify the event loop by providing a function to call when the element would generate an event. This works because the 'key' of the elements can also be an object, in this case a newly ...
Ernest ter Kuile's user avatar

1
2 3 4 5
26