[Pythonmac-SIG] py2app path question

2009-04-15 Thread Shane Clements
Hi. Looking for advice about p2app and paths during the bundling process. The application I am working with works fine finding the paths before being bundled with py2app but after has mangled ones. An example error: IOError: [Errno 2] No such file or directory: '/Users/Shane/UTc!/client/dist/cl

Re: [Pythonmac-SIG] py2app path question

2009-04-15 Thread Ronald Oussoren
On Wednesday, April 15, 2009, at 09:23AM, "Shane Clements" wrote: >Hi. > >Looking for advice about p2app and paths during the bundling process. > >The application I am working with works fine finding the paths before being >bundled with py2app but after has mangled ones. That's odd. Can you re

Re: [Pythonmac-SIG] py2app path question

2009-04-15 Thread Shane Clements
On Wed, Apr 15, 2009 at 1:29 AM, Ronald Oussoren wrote: > > On Wednesday, April 15, 2009, at 09:23AM, "Shane Clements" < > shane.cleme...@gmail.com> wrote: > >Hi. > > > >Looking for advice about p2app and paths during the bundling process. > > > >The application I am working with works fine findin

[Pythonmac-SIG] Unable to run python application

2009-04-15 Thread beegee beegee
Hi there, I am a beginner in python and I wrote a simple program called first.py (using aquamacs) and stored it on my desktop. I opened IDLE and wrote the command python first.py and I got a syntax error with 'first' being highlighted I have a mac os 10.4.11, python 2.6.1 on IDLE and I also used th

Re: [Pythonmac-SIG] Unable to run python application

2009-04-15 Thread massimo di stefano
Hi, you can run your program from the terminal.app (Application -> Utility -> Terminal.app) simply running : python /path/to/first.py if you want run it inside a python shall, you need to define a function, to do it : changes the code to : #|/usr/bin/python def first(): print " Hel

Re: [Pythonmac-SIG] Unable to run python application

2009-04-15 Thread Ned Deily
In article <7122b8730904151138o3a0cb401hbfaba2d3babfd...@mail.gmail.com>, beegee beegee wrote: > Hi there, I am a beginner in python and I wrote a simple program > called first.py (using aquamacs) and stored it on my desktop. > I opened IDLE and wrote the command python first.py > and I got a sy

[Pythonmac-SIG] Unable to run python application (beegee beegee)

2009-04-15 Thread Dan Ross
Hi bee gee - You need to type "python first.py" into Terminal, not IDLE. Dan pythonmac-sig-requ...@python.org wrote: Send Pythonmac-SIG mailing list submissions to pythonmac-sig@python.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.python.org/mailman