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

[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

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

[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