add some py but some errors occur, fix after exam