creat the python demo of xlog parser