code: def generate_py():
      
      model = {}
  
      vk = init()
      format_vk(vk)
      model_alias(vk, model)
      model_typedefs(vk, model)
      model_enums(vk, model)
      model_macros(vk, model)
      model_funcpointers(vk, model)
      model_exceptions(vk, model)
      model_constructors(vk, model)
      model_functions(vk, model)
      model_ext_functions(vk, model)
  
      env = jinja2.Environment(
          autoescape=False,
          trim_blocks=True,
          lstrip_blocks=True,
          loader=jinja2.FileSystemLoader(HERE)
      )
  
      out_file = path.join(HERE, path.pardir, 'vulkan', '_vulkan.py')
      with open(out_file, 'w') as out:
          out.write(env.get_template('vulkan.template.py').render(model=model))
docs: Generate the python output file