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

mac2024-02-23  39

本身编译器使用为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:

 

2-如下图:

最新回复(0)