简体   繁体   English

Wing IDE用引号引起的麻烦

[英]Wing IDE trouble with quotes

I've been trying to learn Python, but ran into a very interesting problem. 我一直在尝试学习Python,但是遇到了一个非常有趣的问题。 I cannot seem to find the right double quotation marks to denote a string. 我似乎找不到正确的双引号来表示字符串。

print(¨Hello, World!¨)
Traceback (most recent call last):
File "<string>", line 1, in <fragment>
Syntax Error: print(¨Hello, World!¨): <string>, line 113

Those funny marks are as close as I could get. 这些有趣的痕迹与我所能接近的差不多。 This only seems to be happening in Wing IDE. 这似乎仅在Wing IDE中发生。 Thoughts? 有什么想法吗?

Though it looks similar to the double-quote, ¨ is not a double-quote. 尽管它看起来与双引号相似,但是¨不是双引号。 It seems somehow your IDE is translating a double-quote into ¨ (a different character). 似乎您的IDE以某种方式将双引号转换为¨ (不同的字符)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM