def decodeFontFile(data, file):
   """ Decode font file embedded in this script and create file """
   from zlib import decompress
   from base64 import decodestring
   from os.path import exists
   
   # If the font file is missing
   if not exists(file):
      # Write font file
      open (file, "wb").write(decompress(decodestring(data)))
 Decode font file embedded in this script and create file 
recipes/Python/426069_EAN_Bar_code_image_generator/recipe-426069.py