From: chadm at sgi.com (Chad McDaniel)
Date: 21 Apr 1999 12:04:30 -0700
Subject: New python user seeks comments
References: <m3wvz61tkp.fsf@solo.david-steuber.com> <371DA955.9F13B144@pop.vet.uu.nl>
Message-ID: <x1jlnflztfl.fsf@unhinged.engr.sgi.com>
X-UID: 261                                                  

Martijn Faassen <faassen at pop.vet.uu.nl> writes:

> David Steuber wrote:
> > 
> > Er, uh, hmm.
> > 
> > I wrote my first Python program today.  It took longer than I
> > expected.  Who would have guessed that you couldn't give a file object
> > the name 'in'?  Or at least that was one of the weirder obstacles.
> 
> It's not that weird as 'in' is a reserved keyword in Python. :)
> 
> for i in whatever:
>    print "See?"
> 

It seems that Python could have mentioned that to the user.

-- 
-chad




