 <p>Your string has backslashes which are read in Python as escape codes. These are when a character preceded by a backslash is changed into a special character. For example, <code>\n</code> is a newline. You will need to either escape them (with another backslash) or just use a raw string.</p> <pre><code>r'C:\Software\api\render\3bit\sim&gt;' </code></pre>