Since everything in python is an object, i was wondering if there was a way i could initialise a class object using the name of the class
for example,
class Foo:
"""Class Foo"""
How could i access this class by "Foo", ie something like c = get_class("Foo")
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…