python3.x下运行python2.x的代码

在代码第一行加上from __future__ import print_function,然后python2中的raw_input可以完美运行

猜你喜欢

转载自blog.csdn.net/zhengdeshifeng/article/details/79676309