On 23/04/04, at 18:49 +0200, [EMAIL PROTECTED] <[EMAIL PROTECTED]: > Here is a simple Python script I am using for this. Maybe not very clean, but easy > to understand. > > *-----------------------------------* > > #! /usr/bin/python > from Tkinter import * > import os > > root=Tk() > root.title(string='Launcher') > def exe(): > os.system(widget.get()+'&') > root.destroy() > widget=Entry(root) > widget.pack(side=TOP) > Button(root, text="Launch", command=exe).pack(side=BOTTOM) > root.mainloop() > > *-----------------------------------*
Thanks but I got a small problem with compilation of this one: Traceback (most recent call last): File "./launcher.py", line 2, in ? from Tkinter import * ImportError: No module named Tkinter With kind regards, Didier. --- PhD student. Singapore Synchrotron Light Source (SSLS) 5 Research Link, Singapore 117603 Email: didierbe at sps dot nus dot edu dot sg Web: http://ssls.nus.edu.sg ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 _______________________________________________ enlightenment-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-users