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 <n...@acm.org>: > In article > <7122b8730904151138o3a0cb401hbfaba2d3babfd...@mail.gmail.com>, > beegee beegee <beege...@gmail.com> 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, > ...@acm.org > > _______________________________________________ > Pythonmac-SIG maillist - pythonmac-...@python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig > -- Alexandre Quessy http://alexandre.quessy.net/ _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig