-3
意外的保留字我在嘗試運行我的Python腳本時,下面的怪堆錯誤:語法錯誤:在Python腳本
(function (exports, require, module, __filename, __dirname) { import simplejso
^^^^^^
SyntaxError: Unexpected reserved word
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3
爲什麼import
意想不到的關鍵詞?
*'node.js' *錯誤的迴轉以及回溯看起來與Python沒有任何關係的事實並未引起您的注意? – CoryKramer