code: def lambda_from_file(python_file):
      
      lambda_function = []
      with open(python_file, 'r') as f:
          lambda_function.extend(f.read().splitlines())
  
      return awslambda.Code(ZipFile=(Join('\n', lambda_function)))
docs: Reads a python file and returns a awslambda.Code object
      :param python_file:
      :return: