I\'m a python/programming newbie and maybe my question has no sense at all.
My problem is that I can\'t get a variable to be global if it is dynamic, I mean I can do
For completeness, here's the answer to your original question. But it's almost certainly not what you meant to do -- there are very few cases where modifying the scope's dict is the right thing to do.
dict
globals()[a] = 'whatever'