Friday, March 18, 2016

Creating Class Instances Dynamically in Python

http://stackoverflow.com/questions/20320024/creating-class-instances-dynamically-in-python

Very interesting discussion.

I use what is described as "ugly" here.

The only thing I can say is that it works, and I cannot figure out how to do it any better.

This discussion focuses so narrowly on CSV that I cannot translate it to my situation without a lot of further work.

No comments: