Re: [Pythonmac-SIG] How to tell if a .app is clicked again?

2005-08-16 Thread Bob Ippolito
On Aug 16, 2005, at 1:10 PM, Chris Barker wrote: > Nicholas Riley wrote: > >>> Which leads me to another idea: Can I tell OS-X that I DO want >>> another >>> instance of the app launched rather than raising an existing one? >>> > > >> You can do this (LaunchServices lets you multi-launch apps,

Re: [Pythonmac-SIG] libpython for 2.4.1 on OSX 10.3

2005-08-16 Thread Bob Ippolito
On Aug 16, 2005, at 12:36 PM, Eli Stevens (WG.c) wrote: > Bob Ippolito wrote: > >> On Aug 16, 2005, at 9:36 AM, Eli Stevens (WG.c) wrote: >> >>> I'm trying to get Inline::Python (allows python to be called from >>> perl >>> with very little glue) working on OSX 10.3. I have installed the >>> f

Re: [Pythonmac-SIG] How to tell if a .app is clicked again?

2005-08-16 Thread Chris Barker
Nicholas Riley wrote: >>Which leads me to another idea: Can I tell OS-X that I DO want another >>instance of the app launched rather than raising an existing one? > You can do this (LaunchServices lets you multi-launch apps, or you can > always execute the binary directly), but not from the Find

Re: [Pythonmac-SIG] libpython for 2.4.1 on OSX 10.3

2005-08-16 Thread Eli Stevens (WG.c)
Bob Ippolito wrote: > > On Aug 16, 2005, at 9:36 AM, Eli Stevens (WG.c) wrote: > >> I'm trying to get Inline::Python (allows python to be called from perl >> with very little glue) working on OSX 10.3. I have installed the >> framework build of 2.4.1 and am able to use it, run scripts, etc. > >

Re: [Pythonmac-SIG] How to tell if a .app is clicked again?

2005-08-16 Thread Nicholas Riley
On Tue, Aug 16, 2005 at 03:02:04PM -0700, Chris Barker wrote: > Well, it's not, but that is an idea. If I have a little launcher stub, > it could just check and see what's running, and then launch what it > needs to, then quit. That way it would just get started up again if the > user double cli

Re: [Pythonmac-SIG] How to tell if a .app is clicked again?

2005-08-16 Thread Chris Barker
Bob Ippolito wrote: > IIRC, on Mac OS X, there isn't a difference between "re-launching" and > becoming active. Double-clicking the app should have the same behavior > as cmd-tabbing over to it (or using exposé, or the dock, etc.), because > LaunchServices recognizes that the application is

Re: [Pythonmac-SIG] How to tell if a .app is clicked again?

2005-08-16 Thread Chris Barker
Kevin Ollivier wrote: > I can't answer the questions you posed below, as I do almost all of my > Mac work with wxPython, but when I read about what you're trying to do > I couldn't help but think that this is exactly what ActiveGrid > AppBuilder is for: > > http://www.activegrid.com > > Gra

Re: [Pythonmac-SIG] How to tell if a .app is clicked again?

2005-08-16 Thread Nicholas Riley
On Tue, Aug 16, 2005 at 09:51:57AM -1000, Bob Ippolito wrote: > IIRC, on Mac OS X, there isn't a difference between "re-launching" > and becoming active. Double-clicking the app should have the same > behavior as cmd-tabbing over to it (or using expos?, or the dock, > etc.), because LaunchSe

Re: [Pythonmac-SIG] libpython for 2.4.1 on OSX 10.3

2005-08-16 Thread Bob Ippolito
On Aug 16, 2005, at 9:36 AM, Eli Stevens (WG.c) wrote: > I'm trying to get Inline::Python (allows python to be called from perl > with very little glue) working on OSX 10.3. I have installed the > framework build of 2.4.1 and am able to use it, run scripts, etc. Sounds like their build scripts

Re: [Pythonmac-SIG] How to tell if a .app is clicked again?

2005-08-16 Thread Bob Ippolito
On Aug 16, 2005, at 9:31 AM, Chris Barker wrote: > When you start the app, it puts a little icon on the dock, and > fires up > the browser, all is good. However, if you try to start the app > again, it > doesn't do anything, as it's already running. I don't want it to start > up again, but it

Re: [Pythonmac-SIG] How to tell if a .app is clicked again?

2005-08-16 Thread Kevin Ollivier
Hi Chris, On Aug 16, 2005, at 12:31 PM, Chris Barker wrote: > Hi all, > > I'm working on a project in which we're trying to write a Web app that > can also be run stand-alone on a non-networked machine. I can't answer the questions you posed below, as I do almost all of my Mac work with wxPyt

[Pythonmac-SIG] libpython for 2.4.1 on OSX 10.3

2005-08-16 Thread Eli Stevens (WG.c)
Hello, List newbie here, sorry if this is a FAQ (I don't see it in the cached copy of the FAQ, and the wiki seems to be down). I'm trying to get Inline::Python (allows python to be called from perl with very little glue) working on OSX 10.3. I have installed the framework build of 2.4.1 and a

[Pythonmac-SIG] How to tell if a .app is clicked again?

2005-08-16 Thread Chris Barker
Hi all, I'm working on a project in which we're trying to write a Web app that can also be run stand-alone on a non-networked machine. so far, I've got a little demo that creates a tiny little database-backed web site using: Quixote Cheetah SQLite pysqlite If it's run as __main__, it starts up

Re: [Pythonmac-SIG] Py2app & wxPython problem...

2005-08-16 Thread Bob Ippolito
On Aug 16, 2005, at 3:59 AM, Schollnick, Benjamin wrote: > > >>> Well... It is working at this point now >>> >>> After upgrading to 10.4.1. But the distribution is huge (!!) >>> roughly 40 Mb I'll take a look into slimming it down in a few >>> days... >>> >> >> Use PyObjC instead of

Re: [Pythonmac-SIG] Active Directory authentication on Mac using Python

2005-08-16 Thread brad . allen
Andrew Shearer wrote on 08/15/2005 07:54:00 PM: > You don't necessarily have to use Kerberos. Here's a command line that > has worked for me on 10.3.9 against a Windows 2000 Active Directory > server. It authenticates [EMAIL PROTECTED] by prompting for > the password and then printing out some

Re: [Pythonmac-SIG] Active Directory authentication on Mac using Python

2005-08-16 Thread brad . allen
Ronald Oussoren <[EMAIL PROTECTED]> wrote on 08/14/2005 12:12:17 PM: > I could build python-ldap 2.0.9 after I removed 'sasl2' from the   > 'libs' line in setup.cfg, OSX doesn't seem to have the header files   > needed for sasl support in python-ldap. I was trying to include SASL because I thoug

Re: [Pythonmac-SIG] py2app trying to create a symlink that already exists

2005-08-16 Thread Kevin Dangoor
Following up to my own message. I just got back to looking at this again this morning and managed to fix it. I don't have the full answer, but thought I would post what I do know. This morning, I spotted a couple of things. 1) the unnecessary bin directory was still in the Firebird.framework on m

Re: [Pythonmac-SIG] ODBC On the Macintosh via Python?

2005-08-16 Thread brad . allen
"Schollnick, Benjamin" wrote on 08/16/2005 09:08:49 AM: > I have done some google research, but come up dry... > > Is there a ODBC module for the Macintosh?  For example, the win32 > distribution has an (old) odbc module, which works fine for my > purposes... > > I am uncertain if mxODBC would

[Pythonmac-SIG] ODBC On the Macintosh via Python?

2005-08-16 Thread Schollnick, Benjamin
Folks, I have done some google research, but come up dry... Is there a ODBC module for the Macintosh? For example, the win32 distribution has an (old) odbc module, which works fine for my purposes... I am uncertain if mxODBC would work on the macintosh, but either way it's unsuitable for my pur

Re: [Pythonmac-SIG] Py2app & wxPython problem...

2005-08-16 Thread Schollnick, Benjamin
> > Well... It is working at this point now > > > > After upgrading to 10.4.1. But the distribution is huge (!!) > > roughly 40 Mb I'll take a look into slimming it down in a few > > days... > > Use PyObjC instead of wxPython and it will get a lot smaller ;) True... And I know