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 <[email protected]>: > In article > <[email protected]>, > beegee beegee <[email protected]> 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 syntax error with 'first' being highlighted >> I have a mac os 10.4.11, python 2.6.1 on IDLE >> and I also used the aquamacs compiler for python > > When you are in IDLE, use the Open command from the File menu bar item > to open a python file in a new window. With focus on the new window, > the menu bar will change to include a Run menu. > > -- > Ned Deily, > [email protected] > > _______________________________________________ > Pythonmac-SIG maillist - [email protected] > http://mail.python.org/mailman/listinfo/pythonmac-sig > -- Alexandre Quessy http://alexandre.quessy.net/ _______________________________________________ Pythonmac-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/pythonmac-sig
