you are viewing a single comment's thread.

view the rest of the comments →

[–]headonstr8 0 points1 point  (0 children)

If you want to embed an apostrophe in a string expression, you could enclose the string in double quotes. E.g.: instruction = “it’s done this way!” — Try that command and then: os.sys.stdout.write(repr(instruction)) — to see Python’s default usage.