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
1 answer

Type error : importing things and doesn't work

Guys can you help please? You see I created a module (if you want to know how get Hello world book 2nd edition) and imported it but the functions don't work. Here are the module and scripts coin.py class Coin: def flip_coin(self, op): a…
0
votes
1 answer

When I used python3.4's easygui CodeBox to display some characters, the format was in disorder

I am trying to use codebox to display a calendar in easygui in python3.4 My code is as follows import easygui,calendar cal7 = calendar.month(2018, 7) easygui.codebox(cal7,"2018.7") But its display results are as…
redapple0204
  • 25
  • 1
  • 1
  • 8
0
votes
2 answers

login system connected with database mysql using easygui in raspberry pi 3

I'm beginning using GUI . My first project is to do login system that connected to database mysql using easygui in raspberry pi 3. I already do the coding for enter the password but I dont know how to connect it with database while press ok button.…
0
votes
2 answers

Bring Python gui window to front?

I'm trying to use one of Python's gui modules to retrieve a user's Twitter username and password: Here is my first attempt (using easygui): import easygui username = easygui.enterbox("Enter your Twitter username") password =…
ElsaInSpirit
  • 341
  • 6
  • 16
0
votes
1 answer

Python: Error raised for scripts saved on server

I'm hoping this is a simple issue and I'm just missing something. I have a script saved in two different locations, on our shared server and locally on my desktop. When I run the script from the server I get what appears to be easygui error.…
0
votes
2 answers

easygui fileopenbox: open a path with a '.' (ex C:\Users\user\.atom)

I would like to open a file dialog with easygui but the path contains a folder with a .: C:\Users\user\.atom myfile= easygui.fileopenbox(msg="Choose a file", default=r"C:\Users\user\.atom") This opens the dialog box to C:\Users\user not…
MagTun
  • 5,619
  • 5
  • 63
  • 104
0
votes
2 answers

Python EasyGUI multchoicebox - Quiz IF statement on multiple items not working

I would like to have an easyGUI multchoicebox display output based on the correct choices being made. The following doesn't work (i.e it doesn't show 'correct') import easygui fieldnames = ["Incorrect", "Correct", "Also Correct"] choice =…
0
votes
1 answer

NameError: name 'QRCreator' is not defined using myqr and easygui in Python3

I am using easygui and myqr in python to make an easy way to make cool looking qr codes, The code i am using is from the Linux Format magazine. All the code works until the last line. #QRCodeGenarator.py import easygui as eg from MyQR import…
Nyle Cohen
  • 15
  • 3
0
votes
0 answers

How to link the top right 'X' button to close the window with easygui?

I am currently working on a small application built with easygui consist with many boxes, on the main Window it has a 'Quit' button with will prompt a ccbox and ask if user decide to close the app or not. I wanted to link the 'X' button (throughout…
Travis Su
  • 670
  • 2
  • 7
  • 17
0
votes
1 answer

EasyGui diropenbox() give error 'module' object has no attribute 'askdirectory'

I have a Python script calling easygui. This script worked fine on my previous computer. I have a new computer and I am trying to upgrade my script but not I get an error from easygui. Here is the offending code. inDir = diropenbox("Set to the…
GBG
  • 233
  • 5
  • 17
0
votes
1 answer

subprocess.Popen will not run my python program

So I tried making a launcher for a text games that I am making and I need the launcher to run a part of the game based on what expansions I picked. However, after creating the launcher and testing it, I realised that everything works fine up until…
PHDBanana
  • 7
  • 5
0
votes
1 answer

How do I automatically quit a canvas while keeping my program running?

I currently have this code: import easygui, random, time, math, sys from Tkinter import * root=Tk() root.geometry('800x800') c=Canvas(root, width=800, height=800) c.pack() done=False x=1 while not done: #do something root.update() …
Kat
  • 7
  • 5
0
votes
1 answer

Python Easygui image file does not exist?

Whenever I try and run this code: encounter1 = buttonbox(image = "source.gif", msg = "A goblin approaches!", choices = ["Attack", "Heal"]) It just says "image file source.gif does not exist". I am currently using Python 3.6.1 with the latest…
0
votes
1 answer

Python Wrong output enterbox

I am working on some small program which will show me which accesspoint is connected to what switch. But I get the output from mag15 whenever I input "5" in the enterbox. Can you guys help me figure out what the problem is? Btw I suck at programming…
Mr J.
  • 215
  • 1
  • 4
  • 12
0
votes
0 answers

PHP Recursive Function base on single id export excel

I have a search page that allow user to key in the member ID and it will list out all the downline that belongs to the user. I am using easyui treegrid to generate the downline. Now i need to do an extra button to export out all the downline that…