[Pythonmac-SIG] Unable to run python application

Alexandre Quessy alexandre at quessy.net
Thu Apr 16 16:43:28 CEST 2009


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 <nad at acm.org>:
> In article
> <7122b8730904151138o3a0cb401hbfaba2d3babfd391 at mail.gmail.com>,
>  beegee beegee <beegee63 at 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,
>  nad at acm.org
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>



-- 
Alexandre Quessy
http://alexandre.quessy.net/


More information about the Pythonmac-SIG mailing list