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
30
votes
5 answers

Token error: EOF in multi-line statement

The following code gives me this error "Token Error: EOF in multi-line statement". What is this error? How can I fix it? import easygui import time namegui = easygui.enterbox(msg='Enter your name:', title='Name query', default='Gian') situationgui =…
gian848396
  • 459
  • 1
  • 8
  • 24
6
votes
0 answers

`easygui` - dialogs are not given focus when created

I am using Python 2.7.9, easygui 0.97.4, and Windows 7. I am trying to pop up a dialog box using the following: import easygui easygui.msgbox() I would expect a dialog box to pop up and come to the foreground, taking focus. Sometimes, this happens.…
Li-aung Yip
  • 12,320
  • 5
  • 34
  • 49
4
votes
2 answers

Python packed EXE blanks screen for a second on windows how to stop this?

I have created an EXE from a python GUI program I have put together, this all works fine as far as function goes, but whenever someone runs it their screen goes black for a second then comes back to windows and runs the program. Is this a common…
Psylent
  • 61
  • 3
4
votes
3 answers

Python: easygui, how to select multiple files?

I am using fileopenbox() and I want to select all text files I have when the windows box is open. I have tried to press shift or ctrl + A, but it didn't work. openfile = fileopenbox("Welcome", "COPR", filetypes= "*.txt")
Ricky
  • 323
  • 2
  • 5
  • 11
4
votes
1 answer

Tkinter with C++

Is there a way to program a GUI with tkinter through C++? I'm asking this because I know how to program with tkinter in Python, but for my app I could not use Python. If not, I want to develop a GUI app in C++ that could use MySQL to display and…
Antonio Davila
  • 47
  • 1
  • 1
  • 3
4
votes
0 answers

py2app Error OSX El Capitan

In Alias mode, this fails. Here's what I'm running: OSX 10.11.1 (El Capitan) Python 3.5 via Anaconda (with the Jupyter 4.1.0 Notebook) py2app is the newest version (0.9) Here's what I'm doing: Create script and save as APP_OSX.py Enter the…
Dance Party
  • 3,459
  • 10
  • 42
  • 67
4
votes
1 answer

How to get easygui to filter file list

I've been using easygui for opening files and other tasks on my project and generally it works great. When using the fileopenbox, however, I am not able to get it to show only files of a certain type. In the code snippet below I was expecting to…
Charlie_M
  • 1,281
  • 2
  • 16
  • 20
4
votes
2 answers

Python EasyGUI module: how to change the font

How can you change the font settings for the input boxes and message text in EasyGUI? I know you have to edit a file somewhere, but that's about it. Exactly how to do it and what to edit would be appreciated. Thanks in advance.
Aristides
  • 3,805
  • 7
  • 34
  • 41
3
votes
0 answers

Async handler deleted by wrong thread with easygui and flask

I have the following issue with a flask/Python program. The code snippet is as follows: import flask as fk import math import easygui as gui @app.route('/') def index(): return fk.render_template('template.html') @app.route('/results',…
rower2000
  • 31
  • 1
3
votes
1 answer

Pyinstaller and py2exe result in error: "tuple index out of range"

This is my first time using Pyinstaller so please bear with me. Why does the following result in an error? How do I fix it. I am trying to convert the python program I wrote into a windows .exe. C:\WINDOWS\system32>pyinstaller…
evank28
  • 139
  • 1
  • 9
3
votes
3 answers

Close an easygui Python script with the standard 'close' button

I've created a very simple app, which presents an easygui entrybox() and continues to loop this indefinitely as it receives user input. I can quit the program using the Cancel button as this returns None, but I would also like to be able to use the…
nakedfanatic
  • 3,108
  • 2
  • 28
  • 33
3
votes
3 answers

Why am i getting a Type error with global variable editing?

I am working on creating an easygui/python calculator math program and i keep getting this error Traceback (most recent call last): File "C:\Python27\Scripts\MathHelper.py", line 83, in MathType() TypeError: 'str' object is not…
3
votes
1 answer

How to gather string form easygui.enterbox

Like Enter = easygui.enterbox print(Enter.text) I don't know how to do that.What string name form easygui.enterbox?
Masked Man
  • 522
  • 1
  • 6
  • 21
3
votes
3 answers

Why does this function not return a value?

Be forewarned, I just started learning Python, and its my first time on this site. If I act like a n00b, please don't hate. So I have created a program that is supposed to tell you how long it will take you to get to a star (distance is specified)…
qwerty22
  • 101
  • 2
  • 6
3
votes
1 answer

EasyGUI- Integerbox Output

I just started learning Python, and after messing around and creating a program I wanted to use, I wanted to create a GUI for it. I had no idea how to start with it, so I just looked it up and found EasyGUI. I have it working and everything, but how…
Rushy Panchal
  • 16,979
  • 16
  • 61
  • 94
1
2 3
13 14