code: def prepend_line(filepath, line):
      """Rewrite a file adding a line to its beginning."""
      with open(filepath) as f:
          lines = f.readlines()
  
      lines.insert(0, line)
  
      with open(filepath, "w") as f:
          f.writelines(lines)
  
file_path: tensorboard_logger/travis_pypi_setup.py
imports: from __future__ import print_function
  import base64
  import json
  import os
  from getpass import getpass
  import yaml
  from cryptography.hazmat.primitives.serialization import load_pem_public_key
  from cryptography.hazmat.backends import default_backend
  from cryptography.hazmat.primitives.asymmetric.padding import PKCS1v15
label_desc: Use image node_id 4 for calling a global function with example usage: prepend_line(filepath, line) without return types