本身編譯器使用爲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-如下圖:
本身編譯器使用爲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-如下圖:
在定義class control(self):中加如下代碼 def __del__(self): pass