code: def mkdir_p(directory):
      if not os.path.exists(directory):
          os.makedirs(directory)
  
imports: import sys
  import subprocess
  import argparse
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: mkdir_p(directory) without return types