To meet the specifications of a program I'm writing I need to be able to generate an instance of a class on the fly that can be referenced easily by other parts of the code.
I've looked around and can't find an answer to this, can I do this within python or not?
Thank you to all replies in advanced.
my_instance = MyClass()?