Here include some vasp input file and python code for generate different surface configurations of YBCO. You can modify the code to apply to the material you want to calculate. rely on Pymatgen and os module.