简体   繁体   中英

Wing IDE trouble with quotes

I've been trying to learn Python, but ran into a very interesting problem. 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. 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).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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