Am 2008-04-08 um 02:40 schrieb Kevin Horton: >> >> Just put an alias to your python file on the Desktop. >> On doubleclick it starts Terminal, but it works. > I don't know why, but this does not work for me. In my account > nothing happens, and no messages in Console.app giving a clue why. I > restarted the computer, and created a brand new user account, with > admin priviledges. In that account, if I double the script file, or > an alias, Terminal starts, I see that it runs "/path/to/my script ; > exit;". The wxpython application does not start. It does run > normally if I start it manually from the command line in Terminal. > > I tried doubleclicking the script file on another Mac, and I get the > identical result as I did on the fresh user account on the first Mac > - i.e. the script is called, but immediately exits, and the > application does not start. > > It is quite possible that I have done something non-standard in my > script that is at fault here, but I have no clue on what to look for.
Try to map *.py on Python Launcher. And I guess it helps if you make your script executable (chmod a+x) and have a working shebang line like this: #!/usr/bin/env python >> There's also Platypus to wrap any script, see http:// >> www.sveinbjorn.org/platypus > I tried that on both Macs - the Platypus wrapper application starts, > but the wxpython application does not start. I never tried Platypus with wxPython, sorry. Greetlings from Lake Constance! Hraban --- http://www.fiee.net https://www.cacert.org (I'm an assurer) _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig