Re: [Tutor] Launching a file browser

2005-04-04 Thread Mike Hall
On Apr 1, 2005, at 4:12 PM, Jeff Shannon wrote: At the OS level, these two actions are *completely* different. The webbrowser module launches an entirely separate program in its own independent process, where the "file browser" is opening a standard dialog inside of the current process and depende

Re: [Tutor] Launching a file browser

2005-04-01 Thread Jeff Shannon
On Mar 31, 2005 2:14 PM, Mike Hall <[EMAIL PROTECTED]> wrote: > > >> It's been too long since I used Python on MacOSX, but IIRC you can't > >> just run a Python GUI program from the shell. Or something like > >> that...you should ask this one on the python-mac SIG mailing list: > >> http://www.pyt

Re: [Tutor] Launching a file browser

2005-03-31 Thread Mike Hall
Ah, so it has to do with access to the window manager. That answers a lot, thanks. On Mar 31, 2005, at 4:09 PM, Max Noel wrote: On Apr 1, 2005, at 00:14, Mike Hall wrote: On Mar 31, 2005, at 12:21 AM, Max Noel wrote: It's been too long since I used Python on MacOSX, but IIRC you can't just run a

Re: [Tutor] Launching a file browser

2005-03-31 Thread Max Noel
On Apr 1, 2005, at 00:14, Mike Hall wrote: On Mar 31, 2005, at 12:21 AM, Max Noel wrote: It's been too long since I used Python on MacOSX, but IIRC you can't just run a Python GUI program from the shell. Or something like that...you should ask this one on the python-mac SIG mailing list: http://w

Re: [Tutor] Launching a file browser

2005-03-31 Thread Mike Hall
On Mar 31, 2005, at 12:21 AM, Max Noel wrote: It's been too long since I used Python on MacOSX, but IIRC you can't just run a Python GUI program from the shell. Or something like that...you should ask this one on the python-mac SIG mailing list: http://www.python.org/sigs/pythonmac-sig/ Kent Yo

Re: [Tutor] Launching a file browser

2005-03-31 Thread Max Noel
On Mar 31, 2005, at 01:56, Kent Johnson wrote: Mike Hall wrote: I looked over the global module index and the closest thing I could find relating to my os (osx) was EasyDialogs, which has a few functions pertaining to this, "AskFileForOpen()" being one. Calling any function within EasyDialogs ho

Re: [Tutor] Launching a file browser

2005-03-30 Thread Kent Johnson
Mike Hall wrote: I looked over the global module index and the closest thing I could find relating to my os (osx) was EasyDialogs, which has a few functions pertaining to this, "AskFileForOpen()" being one. Calling any function within EasyDialogs however yields an Apple Event error: AE.AEIntera

Re: [Tutor] Launching a file browser

2005-03-30 Thread Jeff Shannon
On Mon, 28 Mar 2005 18:53:39 -0800, Mike Hall <[EMAIL PROTECTED]> wrote: > I my case the gui will be comprised of html and javascript, talking to > python through system calls. I basically want to know if there's an > equivalent of the "webbrowser()" module (which launches my browser) for > file d

Re: [Tutor] Launching a file browser

2005-03-28 Thread Mike Hall
On Mar 28, 2005, at 4:24 PM, [EMAIL PROTECTED] wrote: So, you are writing a GUI app and you want some kind of open file dialog? Won't this depend on what toolkit you are using for your GUI? If you are using Tkinter (which should work on OS X, I think), try: import tkFileDialog f = tkFileDialog.a

Re: [Tutor] Launching a file browser

2005-03-28 Thread jfouhy
Quoting Mike Hall <[EMAIL PROTECTED]>: > I get the impression some of these "Mac" modules are more relevant to > os 9 than 10(which is Unix), so maybe EasyDialogs is not the right > choice here. Any suggestions are appreciated. So, you are writing a GUI app and you want some kind of open file d

[Tutor] Launching a file browser

2005-03-28 Thread Mike Hall
I looked over the global module index and the closest thing I could find relating to my os (osx) was EasyDialogs, which has a few functions pertaining to this, "AskFileForOpen()" being one. Calling any function within EasyDialogs however yields an Apple Event error: AE.AEInteractWithUser(5000)