Does Python have anonymous classes? January 22, 2023 by Tarik Looks like Python 3.3 has added exactly this thing in the form of types.SimpleNamespace class.