Python Create Class Programmatically