Changing the names of python keywords

Ognjen Bezanov Ognjen at mailshack.com
Fri Jun 22 11:33:52 EDT 2007


vedrandekovic at v-programs.com escribió:
> 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!!!!!!!!!!!!!!!!
> 

Sorry, but I am having some trouble understanding what exactly you are 
trying to do.

Mozda bi bilo lakse da objasnis na neki drugi jezik, sta mislis o tome?

Ogi.






More information about the Python-list mailing list