Alistair King wrote: > is there a simple way of creating global variables within a function? def foo(name): globals()[name] = "xxx" globals()[name + 'aa'] = "yyy" globals()[name + 'ab'] = "zzz"