pycharm 工具警告: Python version >= 3.0 do not support this syntax,设置方式

本身编译器使用为python 2.x系列的:

警告信息如下:

Python version >= 3.0 do not support this syntax. The print statement has been replaced with a print() function less... (Ctrl+F1)

解决方式如图操作:

1-点击file -选择settings:
pycharm 工具警告: Python version >= 3.0 do not support this syntax,设置方式

 

2-如下图:

pycharm 工具警告: Python version >= 3.0 do not support this syntax,设置方式