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:

 

2-如下圖:

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章