code: def main():
      """
      print out useful info
      """
      # pylint: disable=superfluous-parens
      # args = get_args()
      environment_data = get_data()
  
      print("$PATH:")
      for directory in environment_data["path"].split(os.pathsep):
          print("\t" + directory)
  
      print("\n" + "sys.path:")
      for directory in environment_data["sys_path"]:
          print("\t" + directory)
  
      print("\n" + "sys.executable:")
      print("\t" + environment_data["sys_exe"])
  
      print("\n" + "sys.version:")
      if "\n" in environment_data["sys_version"]:
          for data in environment_data["sys_version"].split("\n"):
              print("\t" + data)
      else:
          print("\t" + environment_data["sys_version"])
  
      print("\n" + "platform.platform():")
      print("\t" + environment_data["platform"])
  
      if environment_data["which"]:
          print("\n" + "which -a jupyter:")
          for line in environment_data["which"].split("\n"):
              print("\t" + line)
  
      if environment_data["where"]:
          print("\n" + "where jupyter:")
          for line in environment_data["where"].split("\n"):
              print("\t" + line)
  
      if environment_data["pip"]:
          print("\n" + "pip list:")
          for package in environment_data["pip"].split("\n"):
              print("\t" + package)
  
      if environment_data["conda"]:
          print("\n" + "conda list:")
          for package in environment_data["conda"].split("\n"):
              print("\t" + package)
  
imports: import os
  import platform
  import subprocess
  import sys
label_desc: Use image node_id 3 for calling a global function with example usage: main() without return types