code: def _read_requirements_txt(file_path, section=None):
      with open(file_path) as f:
          lines = [
              line.strip() for line in f.readlines() if line.strip()
          ]  # remove whitespaces and empty lines
      if section is None:
          return [line for line in lines if not line.startswith("#")]
      selected_lines = []
      started = False
      for line in lines:
          if started:
              if line.startswith("#"):
                  return selected_lines
              else:
                  selected_lines.append(line)
          elif line.startswith("# " + section):
              started = True
      return selected_lines
  
imports: from distutils.cmd import Command
  from distutils.command.build import build
  from distutils.command.clean import clean
  import glob
  import os
  import shutil
  import sys
  import setuptools
  from setuptools.command.develop import develop
  import setup_ts
label_desc: Use image node_id 8 for calling a global function with example usage: _read_requirements_txt(file_path, section) and returns: selected_lines, unknown, selected_lines