code: def parse_requirements(filename):
      
      lineiter = (line.strip() for line in open(filename))
      return (line for line in lineiter if line and not line.startswith("#"))
docs: load requirements from a pip requirements file