from __future__ import *

是为了可以在版本低的时候用新功能 比如python2的代码中加入了这句代码,那么再次使用py2的代码就会报错

原文地址:https://www.cnblogs.com/liuxiangyan/p/14630772.html