11 January 2007 07:45
without an e: What python looks like naked [01/10/2007 14:35:29]
by greutHow to create everything dynamicly in Python
>>> bar = type("bar", (object,), {"one":1})
>>> foo = bar()
>>> foo.one
1
1
(1 marks)