View Full Version : from python script to an executive GUI
helphope
January 2nd, 2008, 04:32 AM
Hi everybody.
I've written a short python script and I'd like to have it as an executive wth a GUI interface.
I've run through a short tutorial on Tkinter, but I don't understand if and how I can "join" the python script to tkinter ...
:confused:
Thanks for any help
jpkotta
January 2nd, 2008, 04:59 AM
Try wxPython with wxglade or boa contructor.
helphope
January 2nd, 2008, 06:19 AM
Thanks for replying.
You mean that I cannot do that with Tkinter?
LaRoza
January 2nd, 2008, 07:06 AM
You can use any tool kit you want, including wxWidgets and Tkinter.
If it is simple, you can use EasyGUI, see my wiki for information on that.
helphope
January 2nd, 2008, 09:54 AM
Thanks,
but I'm back to the point from which I moved off.
My problem is to "join" the pyhon script to a GUI and then have it as an executive inLinux and possibily also in windows.
The script is quite simple, but for me it is meant to be as a beginning.
Thanks for any help
LaRoza
January 2nd, 2008, 09:56 AM
Thanks,
but I'm back to the point from which I moved off.
My problem is to "join" the pyhon script to a GUI and then have it as an executive inLinux and possibily also in windows.
The script is quite simple, but for me it is meant to be as a beginning.
Thanks for any help
It depends on how the script was written, a well written script will be easy to give a GUI.
What are your needs?
If browsing the wxWidgets, Tkinter, and EasyGUI sites didn't help, then I don't know what to say.
helphope
January 2nd, 2008, 10:12 AM
Thanks Laroza.
I'm browsing your wiki and I got something interesting: maybe (for sure) I took a step too long. I'll go through again the tutorials .
:)
dwblas
January 4th, 2008, 09:10 PM
Just to clarify, you would not necessarily "join" but include Tkinter in the python program. For example, if you want to display something that you now print, you would replace the print statements with a Tkinter display box. Here is another reference/tutorial http://python-eggs.org/?row=2
helphope
January 10th, 2008, 11:20 AM
Thanks dwblas.
Sorry for replying late.
you would not necessarily "join" but include Tkinter in the python program.
I've seen this; at the time of the post I dind't now that, now I'm trying to understand how to figure it out
dwblas
January 10th, 2008, 09:09 PM
Post a snippet of what you are doing-before Tkinter-and where you want to add a Tkinter interface. You can also import a separate Tkinter program which may be more of what you want to do. This link sends data to a list box. Note at the end of the program, how ordinary python strings are inserted into a Tkinter listbox. http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52266
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.