Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make a gui in python [closed]

Tags:

I was wondering if any of you know where I could find a simple tutorial on the web maybe to make a very simplistic gui. I have no idea how to start out in code to make one so I need your help. What I want the gui to be used for is I have written a program that I want to be to use it on other computers that already don't have python on it. I have already made an executable but I would much rather use a gui just because of the more "polished" look it has.

like image 877
bobimo Avatar asked Jan 18 '12 15:01

bobimo


People also ask

How do you close a GUI in Python?

Python with tkinter is the fastest and easiest way to create GUI applications. Creating a GUI using tkinter is an easy task. To close a tkinter window, we can use the destroy() method.

How do I close a window in GUI?

By using System. exit(0); you would close the entire process. Is that what you wanted or did you intend to close only the GUI window and allow the process to continue running?

How do I close tkinter?

Creating an application using tkinter is easy but sometimes, it becomes difficult to close the window or the frame without closing it through the button on the title bar. In such cases, we can use the . destroy() method to close the window.

How do you close the current window in Python?

Method 3: Using quit() method Or, you can use exit() function after mainloop to exit from the Python program.


2 Answers

Consider wxPython (which is cross-platform). Here is a tutorial.

like image 118
Michael Easter Avatar answered Sep 18 '22 06:09

Michael Easter


If you're looking to build a GUI interface to trace an IP address, I would recommend VB.

But if you insist on sticking with Python, TkInter and wxPython are the best choices.

like image 28
Feni Avatar answered Sep 21 '22 06:09

Feni