Questions tagged [easygui]

EasyGUI is a module for very simple, very easy GUI programming in the Python programming language.

EasyGUI is a module for very simple, very easy GUI programming in the Python programming language.

196 questions
0
votes
3 answers

LCD screen corrupting

I am using an MSP430F5418 with the ST7565R LCD controller with easyGUI. I am using SPI to communicate with the LCD. Suppose I have a screen like this: But sometimes (rarely) when I press a key (anything which make the testing board to move, usually…
Harikrishnan
  • 3,664
  • 7
  • 48
  • 77
0
votes
0 answers

UI python file manager working on Linux but not windows

I am creating a file manager built on python and easygui but the script fails to open a file dialog box when the button Convert .ply to .obj is pressed. I tried it earlier today and it worked, but I'm not sure I even changed anything. The program…
Thomas
  • 43
  • 6
0
votes
0 answers

Create list of files of a Directory and select multiple files in Python

How do I create a list box with all the available files in a directory and allow the user to select files to be opened. I can create a list of files in a Directory using easygui. This list should be presented to the user to select the files. These…
Irshad
  • 51
  • 5
0
votes
0 answers

_tkinter.TclError: couldn't connect to display "127.0.0.1:0.0"

I have written a Python Scraper with Selenium and in that I have to tackle the 2FA,so, I am prompting for the user input to get the code and move forward, everything is working smoothly in local machine and the whole script is executing correctly…
Hamza Khan
  • 1,321
  • 11
  • 15
0
votes
0 answers

Easygui file encoding and returning to the begin of the code

So i made an application that can login, make user, chance username and change passwords. The first problem is that i cant get file encoding to work. it saves the password in plain text (in psw.txt, but i want it to save to psw.txt encoded). The 2nd…
0
votes
1 answer

Is it possible to create default values with EasyGui multenterbox?

I have an EasyGui multenterbox and I was wondering if there was a way to set a default value for the inputs in the GUI? Thanks
Polydynamical
  • 242
  • 3
  • 18
0
votes
1 answer

When I select multiple row names using multchoice (easygui) it is unclear how to send the entire rows to the same csv (append). Singles work well

import pandas as pd from easygui import * df = pd.read_csv('allfoods.csv') choices = ["Egg", "Milk" ] choice = multchoicebox(msg, title, choices) if choice == "Egg" : df2 = df[df.Food=="Egg"].head() print (df2) df2.to_csv('outfile.csv',…
Girish K
  • 1
  • 1
0
votes
1 answer

CX_FREEZE cannot import easygui tkinter mo

I am trying to create a windows executable (.exe) with python3.7.6 cx_freeze. I have removed my username and python script name from the following code. #!/usr/bin/env python3 import sys, os from cx_Freeze import setup,…
ENZSIO
  • 183
  • 3
  • 11
0
votes
1 answer

the program will not tell if the user won or lost it just keeps on saying they tied

import easygui from easygui import * import random import sys compscore = 0 playerscore = 0 for i in range(0,5): def gamerules(): msgbox ('For this game you must choose one of the option to batle against your optonint') def…
0
votes
1 answer

How to pass path variables correctly?

This looks for a file indirsavefile.txt and if found reads the single directory path stored inside to the indir variable. If that directory exists it tried to enter that directory. If no indirsavefile.txt is found, or if the path written inside is…
Bricktop
  • 533
  • 3
  • 22
0
votes
0 answers

Tkinter is preventing the video from playing

I am new to Python and I am stuck with Tkinter. I have a video running in the background, and I need a label to pop up which contains dynamically changing content. I tried it with tkinter and EasyGUI. The contents are getting printed, but it causes…
0
votes
1 answer

Easygui isn't installing

I want to install easygui on my computer, but it wont work. I have downloaded it, extracted it, and install it just like the tutorials said to do, but every time I try to run a simle program it just gives me this error: Traceback (most recent call…
0
votes
0 answers

how to make a pokemon battle with def

so this is my code( or just a long sample) from easygui import* health = 100 ai_h = 100 moves = ['scratch'] class player: def starter(): starter = buttonbox('what do you want to see?', choices = ['fjade',…
Haoyang Song
  • 162
  • 12
0
votes
1 answer

EasyGui ButtonBox Image without button

I am doing a very small GUI with easygui and its buttonbox. My problem is: My image is also displayed as button, but it shouldn't. Is there a way to display a image in the button box, but this image should not be "clickable" ? To test you have to…
Loois95
  • 85
  • 12
0
votes
1 answer

How to add ynbox and messagebox in same window using easygui

I run following code : import easygui easygui.ynbox('Shall I continue?', 'Title', ('Yes', 'No')) easygui.msgbox('This is a basic message box.', 'Title Goes Here'); but i get different window for ynbox and msgbox ,i want bot both of them to be…
Amit Kumar
  • 49
  • 1
  • 9