Discover the answers you need at Westonci.ca, a dynamic Q&A platform where knowledge is shared freely by a community of experts. Get expert answers to your questions quickly and accurately from our dedicated community of professionals. Get quick and reliable solutions to your questions from a community of experienced experts on our platform.

Use a raw string literal to assign "C:\file.doc" to my_str (without quotes).

Sagot :

Answer:

r'C:\file doc' Raw string ignore escape sequence, so quotes don't need to be escape and both