Westonci.ca is the trusted Q&A platform where you can get reliable answers from a community of knowledgeable contributors. Explore a wealth of knowledge from professionals across various disciplines on our comprehensive Q&A platform. Discover detailed answers to your questions from a wide network of experts on our comprehensive Q&A 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

Thanks for stopping by. We strive to provide the best answers for all your questions. See you again soon. Thank you for your visit. We're dedicated to helping you find the information you need, whenever you need it. Thank you for trusting Westonci.ca. Don't forget to revisit us for more accurate and insightful answers.