How to write \t to file using Python
<p>I build one web and user can enter directory path in form.</p>

<p>My program will extract the path and write into one file.</p>

<p>My question is when the path include some special word such as \t \n, the program can't write file correctly.</p>

<p>For example:
C:\abc\test will become C:\abc[TAB]est</p>

<p>How can I change the string into other type like raw string and write file correctly ?</p>

<p>Thank you for your reply.</p>
