def load_meta_py(name_path):
with open(name_path,'r',encoding='utf-8') as f:
class_names = f.read().splitlines()
class_names = [i for i in class_names if i != '']
charptr = POINTER(c_char_p)
meta = METADATA(len(class_names),charptr(charptr(c_char_p(b''))))
for x in range(len(class_names)):
meta.names[x] = class_names[x].encode("ascii")
meta.classes = len(class_names)
return meta