So, I've create global objects that can be accessed by any method. Now I have to return the objects by a method like this.
def get_my_obj  (obj_name):  
    if   obj_name == "abc":  return  abc
    elif obj_name == "xyz":  return  xyz
    elif obj_name == "def":  return  def
Is there a simpler way to achieve this? I have hundreds of these objects.
 
    