Re: [Matplotlib-users] Open file dialog?

2009-06-05 Thread Jorge Scandaliaris
Alan G Isaac alan.is...@... writes: snip That's all, as long as you don't mind destroying the Window manually. (Otherwise, you need just a couple more lines.) Thanks, I'll give this a try. Jorge -- OpenSolaris

[Matplotlib-users] Open file dialog?

2009-06-04 Thread jorgesmbox-ml
Hi, I am working on scripts using numpy, scipy and matplotlib to analyze some image data. I would like to be able to select the particular image I want to analyze, so I need a file selection dialog or similar. I know this can be done with any gui toolkit, but I was wondering if there isn't an

Re: [Matplotlib-users] Open file dialog?

2009-06-04 Thread Alan G Isaac
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