code: def requirements_from_file(filename):
      
      return [line.strip() for line in open(filename, 'r')
              if line.strip() and not line.strip().startswith('--')]
docs: Parses a pip requirements file into a list.