Category "pysimplegui"

PySimpleGuiWeb change ip address

I have a python script that uses PySimpleGuiWeb. I want to host it on my server and connect to it from another computer. But the script is running on 127.0.0.1.

Trying to open image with pysimplegui, but getting error window pop up

I am following this tutorial to try and get an image to show up in a window with pysimplegui. https://www.youtube.com/watch?v=KtlGrgWf6Y8 import PySimpleGUI as

I'm creating a reddit bot using python, PySimpleGUI, and PRAW. It runs in my IDLE, but fails with a threading error after converting to an executable

I'm working on a bot that uses PRAW to scan all new comments in a user defined subreddit and searches for specific phrases to reply to. I've used PySimpleGUI fo

Widget appears after the user's input

I'm creating a GUI and I had an issue. My GUI is going to interact with the users, so depending on the user's input I want a button to appear. How can I do it?

PySimpleGUI how to run a perform_long_operation function that returns a value

just started learning and using PySimpleGUI. So far, everything works. I have a method that trains an AI and returns the model: model = train_model() As this m

TypeError: object of type 'NoneType' has no len() | PySimpleGUI | MacOS

I am coding a PySimple GUI script and I keep getting this: TypeError: object of type 'NoneType' has no len() (clipping of code) window = sg.Window('Pico Ducky

pysimplegui auto-fill depending on listbox selection / text replacement in file - Python

Example yaml file being edited: FTP_Folder: C:/Users/admin/Documents/Data DBtables: CurrentMinuteLoad: CSV_File: trend.csv Table_Name: currentminutel

I am not able to get any output on the browser

This piece of code calculates the shift that the user will be on a given date. 3 x Shifts (Morning, Evening, Night) rotating every 5 weeks. Each shift has 2 x t

How to create a pySDL2 image from a memory buffer

I have a pySimpleGUI program that create an image from a memory buffer containing a JPEG image. from PIL import ImageTk image = ImageTk.PhotoImage( data=buf) #

Programmatically trigger an event in PySimplGUI

How can I programmatically trigger an event with PySimpleGUI? For example, the "Show" event in the example below is tied to clicking the "Show" button. Is there

How can pysimplegui give a popup message if the script has crashed?

I'm setting up a program using the pysimplegui Interface. The program is based on user input. If the input is in a wrong format, or misspelled, the script wil