關于python程序的一些問題
我在notepad中編輯了python程序: ?print("hello,python") ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? print("hello,","world") 保存為F盤的new.py這個文件夾,但用命令行運行時出現錯誤:Missing parentheses in call to 'print'(我用的是python3.5),這是怎么回事?求大神指教
我在notepad中編輯了python程序: ?print("hello,python") ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? print("hello,","world") 保存為F盤的new.py這個文件夾,但用命令行運行時出現錯誤:Missing parentheses in call to 'print'(我用的是python3.5),這是怎么回事?求大神指教
2016-09-21
舉報
2016-09-21
別用Windows自帶的Notepad程序,安裝notepad++程序編輯,在格式中選“以UTF-8無BOM格式編碼”。