There is an interesting skewness in python: class A(object): pass >>> a=A() >>> setattr(a, '$foo', 17) >>> getattr(a, '$foo') 17 But I can't write >>> a.'$foo'