0

I am trying to set the target path:

Target_Path = "C:\Doc\lib\vLib\setting.text"

However, the \v part is not accepted in python.

I tried to use \\\\ or /\v/ to fix this, referring to the similar question here.

Target_Path = "C:\Doc\lib/\v/Lib\setting.text"

However, it doesn't seem to work for this case.

Nathaniel Ford
  • 20,545
  • 20
  • 91
  • 102
NBB
  • 137
  • 2
  • 6
  • 14
  • What doesn't work from the other question you have linked? I don't see you using pathlib or raw string literals. – mkrieger1 Jul 21 '22 at 21:48
  • @mkrieger1 hello. thanks for helping me. I made a mistake so i miss import part. I added whole code that i have. I think there is way to fix \v part in path. Not sure how to fix it ... – NBB Jul 21 '22 at 22:00

0 Answers0