Python Forum
I'm trying to create a simple yes/no dialog box
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I'm trying to create a simple yes/no dialog box
#16
Don't call the function inside QuickTest.py. When you import it, python runs all the code in it. And since you call the function, then the function is called as soon as you import it.
Reply


Messages In This Thread
RE: I'm trying to create a simple yes/no dialog box - by nilamo - Apr-25-2018, 05:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Smile [Tkinter] Trying to make Fond Dialog box TheTiger 11 2,228 Oct-16-2024, 01:56 AM
Last Post: menator01
  How a QMainWindow can open a dialog? panoss 4 5,468 Feb-03-2022, 04:33 PM
Last Post: panoss
  [Tkinter] question for a tkinter dialog box RobertAlvarez424 2 2,973 Aug-25-2021, 03:08 PM
Last Post: RobertAlvarez424
  [Tkinter] cancelling open dialog gives empty string rwahdan 2 4,838 Jul-17-2021, 09:17 PM
Last Post: steve_shambles
  How to create a simple GUI GRS26 7 5,261 Mar-27-2021, 02:38 PM
Last Post: FernandoCabral
  which is the best library to create a simple web browser? vivekagrey 3 3,176 Jan-11-2020, 05:24 AM
Last Post: vivekagrey
  [WxPython] Return code when closing the dialog ioprst 1 3,956 Aug-13-2019, 11:47 AM
Last Post: jefsummers
  PyQT5 : Unable to Create Another Dialog While One is Open iMuny 3 5,145 Jul-17-2019, 11:40 AM
Last Post: iMuny
  [WxPython] Any dialog that allow user to select file OR folder? buran 3 5,422 Apr-03-2019, 06:33 PM
Last Post: Yoriz
  Simple Button click on image file to create action? jpezz 4 9,036 Mar-27-2019, 10:08 PM
Last Post: jpezz

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020