Changing the names of python keywords and functions
vedrandekovic at v-programs.com
vedrandekovic at v-programs.com
Thu Jun 21 15:35:59 EDT 2007
moegoldb... at gmail.com je napisao/la:
> I'm not quite clear on what you are asking, but
> you can use the __import__() function to import modules by name.
>
I want to invent something like my "programming language" like Python
with the same keywords just changed,
for example if user type in my "programming language":
>>> koristiti os
This line of code my program must write in some file, and my program
(when it run this user file) must read this
line of code like:
>>> import os (I just want to change names of keywords)
More information about the Python-list
mailing list