How to access object attributes given a string

bruno.desthuilliers at gmail.com bruno.desthuilliers at gmail.com
Tue Feb 12 15:41:05 EST 2008


On 12 fév, 21:35, Dennis Kempin <den... at xardias.net> wrote:
> Santiago Romero schrieb:
(snip - others already answered)
> > PS: I need it for a concrete case in a game scripting language I'm
> > writing, so that I can call functions like "CHANGE_PLAYER_VALUES( "x",
> > 100 )".
>
> You are using a scripting language.. why not use python directly?

I can only second this suggestion - FWIW, there are already quite a
couple popular (and less popular) games using Python as a scripting
language.




More information about the Python-list mailing list