python2.x与python3.x的区别比如最明显的print()函数print语句变成print()函数# print函数# sep表示间隔符号,可自行替换python2.x与python3.x的兼容__future__包目的:利用__future__包可实现python2.x与python3.x的兼容。作用:__future__包禁用python2.x的语句,采用python3.x的print()函数。