python2.x print打印不换行 为了解决在python2.x,print语句不换行,需要导入 from __future__ import print_function然后打印使用 print(p, end='')