in VSCode I choose "Python:Start REPL" and add 2 lines seperated with CR: "import sys" and "sys.plattform"
(在VSCode中,我选择“ Python:Start REPL”并添加两行以CR分隔:“ import sys”和“ sys.plattform”)
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.plattform
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'sys' has no attribute 'plattform'
>>>
I get an error.
(我得到一个错误。)
I expected that REPL is able to handle multi-line input ! (我希望REPL能够处理多行输入 !)
Is there any setting I have to change? (我需要更改任何设置吗?)
ask by limex translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…