Pythonista: Instantiate same type
Sunday, January 4th, 2009
Here’s a second in the series of posts about learning python.
Today I encountered a problem where I want to instantiate an object of certain “Type” of which type was not known in advance.
So what I discovered was two-fold:
Say, I have these 2 classes:
Home
Photos
About Me
Subscribe