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

Categories

0 votes
3.8k views
in Technique[技术] by (71.8m points)

VScode设置的解析器和运行代码的时候不一样

VScode设置了python3.8,
但是运行的时候在中文变量的位置报语法错误,
我知道2.7是不支持中文变量的,
所以在文件头指定使用3.8的解析器,
然后就可以正常运行了,
那我在VScode设置的3.8是不是就失效了?
我要怎么做才可以让VScode使用我设置的解析器运行代码?


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

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...