Questions tagged [pysimplegui]

Question about PySimpleGUI. The python package that supports simplified GUI generation using Tkinter.

PySimpleGUI is a python package that supports simplified GUI generation using Tkinter.

You can read more about the package here

1204 questions
0
votes
1 answer

Images in PySimpleGUI Python3

So I am making a mail service application for a project with PySimpleGUI and I am really struggling with the image placement... here is my code: import PySimpleGUI as sg import smtplib from email.mime.multipart import MIMEMultipart from…
X - Alias
  • 1
  • 2
0
votes
1 answer

Value view/modification window

I'm working with plots and I want to call a PySimpleGUI window on a press of a TK button which will show my plot tuples and allow modifying them to later re-draw the plot. So far I took this cookbook example and added a save button: layout +=…
psykana
  • 104
  • 1
  • 10
0
votes
1 answer

Matplotlib pyinstaller error failed to execute

My .exe generated is failed to execute with a matplotlib program. 54 INFO: PyInstaller: 4.0 54 INFO: Python: 3.7.8rc1 57 INFO: Platform: Windows-10-10.0.18362-SP0 58 INFO:…
0
votes
1 answer

pysimplegui syntax error with icon commands

Alright so im messing around with a tutorial i followed, and now im trying to get an icon on it (not part of the tut) i've gone through what documentation on it i could find, and followed some different tutorials on how to, whenever i run the code i…
copperkam
  • 29
  • 5
0
votes
0 answers

Hiding titlebar without hiding taskbar icon

I'm building an desktop GUI app using PySimpleGUI. I want to hide the titlebar of the app's window but without hiding the taskbar icon like i.e Spotify. I've tried using no_titlebar flag in my window but it hides the taskbar icon.
0
votes
1 answer

Unable to show data from a MongoDB database in a PySimpleGui table with Python

I am trying to show data from a MongoDB database in a windows forms table created using the PySimpleGui library. The following code has been adapted from the pySimpleGUI demo program demo_test_element.py. The data passed to the code which…
0
votes
1 answer

How to display files in folder when using PysimpleGUI FileBrowse() function?

Firstly, PySimpleGUI is amazing! However, I cannot figure out how to show all the files in a folder when using folderbrowse() ? Alternatively, would it be possible to print the filenames in the selected in an outbox box? Please could I get some…
user11464178
0
votes
1 answer

PySimpleGUI - updating a list item

I am trying to make a simple trivia quiz inside of a GUI but I cannot seem to update the window so that it goes on to the next question. I have been trying for a while and whatever solution I come up with either works in part or crashes the window!…
0
votes
1 answer

A strange error converting strings to integers

So I tried same method in 2 scripts, but for some reason the last one doesn't work while the first code works just fine. def convert(str): str = int(str) values0 = 123 values1 = 1 try: convert(values0) and convert(values1) pass except…
dumbcoder
  • 13
  • 1
0
votes
1 answer

Code Processing Too Many Values in PySimpleGUI

I have been making an app which lets the users check-boxes. Depending on what boxes they check it will display different information. I decided to use PySimpleGUI for this project. I made 6 check-boxes and one text input which I want the user to be…
Jack
  • 44
  • 6
0
votes
0 answers

subprocess.call() takes too long after GUI input, fast without gui

I am trying to open a pdf file (using default pdf reader) from a Python script in which user chooses file from GUI. However, it takes too long to open the file after GUI. Python: 3.8.5 PySimpleGUI: 4.28.0, Tkinter Port import time import os import…
alercelik
  • 615
  • 7
  • 11
0
votes
0 answers

Is it possible to create an text box (InputText) in pysimplegui that auto completes the thing the user is trying to enter?

I was wondering if there was some type of Parameter that a pysimplegui text box takes that allows it to auto complete the thing the user is trying to enter. This might sound confusing so let me give an example. Lets say you make an Input Text and…
ShadowRunner
  • 33
  • 1
  • 8
0
votes
1 answer

PySimpleGUI Output element linebreak

i am using PySimpleGUI as a tkinter wrapper and it works like a charm, but: When i am printing something to the output element it performs a linebreak whenever the given character limit per line is reached. Can i somehow change it to break line when…
Sascha Höche
  • 66
  • 1
  • 8
0
votes
1 answer

PySimpleGUI Textbox output for information after choosing radiobutton

so what I am trying to do right now is, if I click one of the radio buttons, some information about the Method should automatically show in the GUI but i cant seem to get it right. I thought maybe i could get it done by using an if statement but…
Hai
  • 1
0
votes
1 answer

SimpleGUI on IDLE

I have managed to develop a game using the simplegui module and am able to run it on CodeSkulptor, but when I try running it on IDLE, it displays that the module simplegui is not found. I'm not really getting how to download the module on my system…