On 6/4/2009 3:59 AM jorgesmbox...@yahoo.es apparently wrote: > I need a file selection dialog or similar
Tkinter makes this pretty easy. E.g., >>> import tkFileDialog as fd >>> fname = fd.askopenfilename(initialdir='c:/temp') >>> fname 'C:/temp/note.jpg' That's all, as long as you don't mind destroying the Window manually. (Otherwise, you need just a couple more lines.) Cheers, Alan Isaac ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users