text: import sys
  import tinyobj
  
  filename = "../models/cornell_box.obj";
  
  
  reader = tinyobj.ObjReader()
  
  # Load .obj(and .mtl) using default configuration
  ret = reader.ParseFromFile(filename)
  
  # Optionally you can set custom `config`
  # config = tinyobj.ObjReaderConfig()
  # config.triangulate = False
  # ret = reader.ParseFromFile(filename, config)
  
  if ret == False:
      print("Failed to load : ", filename)
      sys.exit(-1)
  
  attrib = reader.GetAttrib()
  print("attrib.vertices = ", len(attrib.vertices))
  for v in attrib.vertices:
      print(v)
  
  # TODO(syoyo): print mesh
  for shape in reader.GetShapes():
      print(shape.name)
      for idx in shape.mesh.indices:
          print("v_idx ", idx.vertex_index)
  