code: def getattr_in(obj, name):
      
      for part in name.split('.'):
          obj = getattr(obj, part)
      return obj
docs: Finds an in @obj via a period-delimited string @name.
          @obj: (#object)
          @name: (#str) |.|-separated keys to search @obj in
          ..
              obj.deep.attr = 'deep value'
              getattr_in(obj, 'obj.deep.attr')
          ..
          |'deep value'|