I have a class
class Foo(): def some_method(): pass
And another class in the same module:
clas
import sys getattr(sys.modules[__name__], "Foo") # or globals()['Foo']