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

2009-04-16 Thread Alexandre Quessy
Hi beegee ! "/* */" as a comments delimiter is not supported in Python. The simplest way to create comments in Python is to begin each comment line with a #. You can also use triple-delimited strings for documentation. a 2009/4/15 Ned Deily : > In article > <7122b8730904151138o3a0cb401hbfaba2d

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

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