Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
264 views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...