From: chadm at sgi.com (Chad McDaniel) Date: 22 Apr 1999 10:24:48 -0700 Subject: New python user seeks comments References: <371DA955.9F13B144@pop.vet.uu.nl> <371E2DEE.C2BD5A58@pop.vet.uu.nl> Message-ID: X-UID: 236 Martijn Faassen writes: > Chad McDaniel wrote: > > ['in' is a reserved word so can't be used as a variable name] > > > It seems that Python could have mentioned that to the user. > > True, though it does say this: > > File "", line 2 > in = open("test.txt", "r") > ^ > SyntaxError: invalid syntax > > Could be better, but easily could've been far worse.. I used Perl (and still do) before Python and I think that the Perl interpreter gives exceptionally informative error messages. Of course, with Perl's syntax, that may be a necessity ;-> -- -chad