In Python, I would like to instantiate objects of a class where the objects are instantiated at run time without using dictionaries? So I can refer to the objects properties from the string entered.
class Mammal(object)
pass
Dog = raw_input("Mammal: ") - Typed in "Dog"
Dog = Mammal
Dog.Breed = "Terrier"
Dog.Color = "Brown"
Shark = raw_input("Mammal: ") - Typed in "Shark"
Shark = Mammal
Shark.Fins = 1
print Dog.Color
print Shark.Fins