Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
148 views

is it possible to run a function automatically on startup with pysimpleGUI

I have a function that checks my database to see if any patients need to be sent reminder text today. I'd like this to run automatically on startup but don't know how. I'm new to pysimpleGUI and have ...
Ian Kearns's user avatar
2 votes
2 answers
1k views

How would I dynamically update buttons in PYSimpleGUI

I am trying to create a looping text based "choose your own adventure" story game. The code is built into separate functions. Each function has a story element (returned in text format), a ...
Joseph Kemper's user avatar
-1 votes
1 answer
192 views

function wont execute when the button is pressed on PySimpleGUI

I have made a program that executes a market order trade by utilizing the Coinbase Crypto Exchange Sandbox API. This code works fine when I execute it without a GUI. However, I want to create a GUI ...
dingoyum's user avatar
1 vote
1 answer
4k views

How can I collect and use the Listbox values?

How do I collect value in a listbox (sg.Listbox)? That is, when I select that line of the listbox (listbox 2, for example) with what parameters do I make the conditional? For example: [sg.Listbox(...
Aikrana's user avatar
  • 11
0 votes
2 answers
158 views

Passed a parameter and managed to update that inside the function - Python

I saw a sample demo code from PySimpleGUI and I'm still not sure if how the window variable The window was passed as an argument to the_thread() function and somehow it managed to do some operations ...
Synectouche's user avatar
0 votes
0 answers
138 views

Export variable to second script's function and run the function in first script

I have started looking into functions so that i could create an app with gui and a few buttons that executes different scripts. Currently i am using pysimplegui for the creation of a simple gui and ...
coconutxyz's user avatar
1 vote
1 answer
82 views

How to call a function in python at different times?

I need to call a certain function when the button is clicked and the code I wrote works perfectly only when the button is pressed the first time. If I press the button again It won't call the function ...
Raghunathen S's user avatar
2 votes
1 answer
8k views

Python threading and PySimpleGUI

--REVISED WITH SOLUTION FROM MikeyB-- Thanks to Mikey for pointing out a simple solution. I feel sometimes too much thought is put into a solution, and its a simple overhead solution that resolves ...
Adam's user avatar
  • 35