code: def mkdir_p(directory):
      if not os.path.exists(directory):
          os.makedirs(directory)
  
file_path: catboost/build/scripts/compile_java.py
imports: import argparse
  import contextlib
  from distutils import dir_util
  import os
  import shutil
  import subprocess
  import tarfile
  import zipfile
  import sys
label_desc: Use image node_id 2 for calling a global function with example usage: mkdir_p(directory) without return types