def nifty_thing(*names):
    d = globals()
for name in names:
    d[name] = None
nifty_thing('foo', 'bar', 'baz')
print(foo, bar, bar)
Is there a Python 'shortcut' to define a class variable equal to a string version of its own name?