How to access object attributes given a string

bruno.desthuilliers at bruno.desthuilliers at
Tue Feb 12 21:41:05 CET 2008

On 12 fév, 21:35, Dennis Kempin <den... at> 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

More information about the Python-list mailing list