from __future__ import absolute_import 作用 绝对引用 默认是先在本目录下import,但是如果本目录下的模块跟系统模块冲突的话,而恰好想引用系统模块。 此时 from __future__ import absolute_import 就可以起到该作用了。