python2 convert to python3，web undo