"Andrew Volmensky" <[EMAIL PROTECTED]> wrote
> warewerks-01:~ andrew$ python
> Python 2.4.4 (#1, Oct 18 2006, 10:34:39)
> [GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
> Type "help", "copyright", "credits" or "license" for more
> information.
> >>> import sys
> >>> sys.exit()
> warewer
On Thu, Jan 10, 2008 at 01:17:20PM -0800, Andrew Volmensky wrote:
> When typing the commands [statements?] in the terminal I get this:
>
> Last login: Sat Jan 5 22:20:44 on ttyp2
> Welcome to Darwin!
> warewerks-01:~ andrew$ python
> Python 2.4.4 (#1, Oct 18 2006, 10:34:39)
> [GCC 4.0.1 (Apple Co
Kent Johnson wrote:
> Andrew Volmensky wrote:
>
>
>> ...and get an error. I have tried saving as exit.py from the editor
>> and trying to run it and also entering the commands directly into the
>> shell. My understanding is that this is supposed to exit the program,
>> but that does not ap
Thanks Alan,
When typing the commands [statements?] in the terminal I get this:
Last login: Sat Jan 5 22:20:44 on ttyp2
Welcome to Darwin!
warewerks-01:~ andrew$ python
Python 2.4.4 (#1, Oct 18 2006, 10:34:39)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "cre
Andrew Volmensky wrote:
> ...and get an error. I have tried saving as exit.py from the editor
> and trying to run it and also entering the commands directly into the
> shell. My understanding is that this is supposed to exit the program,
> but that does not appear to be happening.
sys.exit(
"Andrew Volmensky" <[EMAIL PROTECTED]> wrote
> I am going through the tutorial "Simple Sequences" here: http://
> www.freenetpages.co.uk/hp/alan.gauld/
Good choice ;-)
> ...and get an error. I have tried saving as exit.py from the editor
> and trying to run it
How are you running it?
You need t
I am going through the tutorial "Simple Sequences" here: http://
www.freenetpages.co.uk/hp/alan.gauld/
...and get an error. I have tried saving as exit.py from the editor
and trying to run it and also entering the commands directly into the
shell. My understanding is that this is supposed t