[Tutor] Olle-Olla
Danny Yoo
dyoo at hkn.eecs.berkeley.edu
Tue Apr 18 19:19:48 CEST 2006
> Is it possible to replace the print statement with one of mine function ?
Hi Janos,
Yes; there are a set of reserved "keywords" that Python does not allow to
be rebound as something else. It's a particular consequence of the way
Python's language grammar is parsed.
You'll want to watch out for keywords. Here they are:
http://docs.python.org/ref/keywords.html
If you avoid using them as variable names, you should be fine.
Best of wishes!
More information about the Tutor
mailing list