Changing the names of python keywords

vedrandekovic at v-programs.com vedrandekovic at v-programs.com
Fri Jun 22 15:41:31 CEST 2007


Hello again,

Thanks for everything previously, I was change  the grammar and Lib/
keyword.py, now
Python recognize "koristiti" as a keyword, but that is not enough:

when I write in my python shell:

>>> koristiti os                   # "koristiti" get keyword "color", but I get error:

File "<input>", line 1
    koristi os
             ^
SyntaxError: invalid syntax

and now, when I write:

>>> import os               # "import" don't get keyword "color" but still working



 
Please help me,    thanks!!!!!!!!!!!!!!!!




More information about the Python-list mailing list