1.print由语句变为函数
2.弃用<> 改用!=
3.from module import * 只能用在模块中,不能用于函数
4..from .[module] import name 是相对导入的唯一正确做法,不用点开头的都被当做绝对导入
5.__future__模块,将python新版本的功能反向迁移到旧版本
如在python2中导入:from __future__ import unicode_literals #将每个字符串解释为Unicode
则字符串变为unicode