I was wring a code to convert "\"
in paths to "/"
because "/"
is what python uses.
However, when I was testing this super simple code, path like "C:\Users\Client\tests\doc_test_hard.docx"
was converted to "C:/Users/Client/ ests/doc_test_hard.docx"
because "/t"
means 6 spaces.
I guess I will have same problem when my path has "\new_file"
because \n
means next line.
How do I tell python "/test"
means "/test"
instead of six spaces + "est"
?