Re: [Pythonmac-SIG] findertools.launch reports "no eligible process"

2007-06-08 Thread Jack Jansen
On 8-Jun-2007, at 13:19 , has wrote: You might add a note that since findertools uses aetools which is [over]due for deprecation, findertools should be deprecated as well. [...] Or you can do it with appscript if you prefer: from appscript import * from mactypes import Alias

Re: [Pythonmac-SIG] findertools.launch reports "no eligible process"

2007-06-08 Thread Kevin Walzer
Ronald Oussoren wrote: Using subprocess is much better because you don't have to worry about quoting for the shell. Os.popen and os.system should basically be deprecated, but that will probably not happen anytime soon because they are used a lot in existing code. > I use os.popen because i

Re: [Pythonmac-SIG] findertools.launch reports "no eligible process"

2007-06-08 Thread Ronald Oussoren
On Friday, June 08, 2007, at 02:57PM, "Kent Johnson" <[EMAIL PROTECTED]> wrote: >has wrote: >> Anyway, simplest solution here is: >> >> import subprocess >> subprocess.call(['open', '/Users/drew/Documents']) > >or >import open import os # ;-) >os.system('open /Users/drew/Documents') T

Re: [Pythonmac-SIG] findertools.launch reports "no eligible process"

2007-06-08 Thread Kent Johnson
has wrote: > Anyway, simplest solution here is: > > import subprocess > subprocess.call(['open', '/Users/drew/Documents']) or import open os.system('open /Users/drew/Documents') Kent ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org h

Re: [Pythonmac-SIG] findertools.launch reports "no eligible process"

2007-06-08 Thread has
Ronald Oussoren wrote: >> i was wondering if anyone else has seen this behavior with the >> findertools.launch() function. the docs indicate that when given a >> pathname, launch(path) will launch a Finder window with that path. >> but >> when i try to launch any valid path i get this error: > >

Re: [Pythonmac-SIG] findertools.launch reports "no eligible process"

2007-06-08 Thread Ronald Oussoren
On Friday, June 08, 2007, at 09:55AM, "Drew Houston" <[EMAIL PROTECTED]> wrote: >hi there, > >i was wondering if anyone else has seen this behavior with the >findertools.launch() function. the docs indicate that when given a >pathname, launch(path) will launch a Finder window with that path. bu

[Pythonmac-SIG] findertools.launch reports "no eligible process"

2007-06-08 Thread Drew Houston
hi there, i was wondering if anyone else has seen this behavior with the findertools.launch() function. the docs indicate that when given a pathname, launch(path) will launch a Finder window with that path. but when i try to launch any valid path i get this error: >>> os.path.exists("/Users/d