code: def write_to_bazelrc(line):
      with open(_LCE_BAZELRC, "a") as f:
          f.write(line + "\n")
  
imports: import os
  import platform
  import re
  import subprocess
  import sys
label_desc: Use image node_id 6 for calling a global function with example usage: write_to_bazelrc(line) without return types