title: How do i make a string of only one backslash? For example s = "\"
body: <p>I am working on a project and to make a new path I needed backslash as a string.</p>
  
  <p>So far I've tried <code>S = "\"</code>, but it didn't work.</p>
  
  <p>This code snippet might help you to understand the situation.</p>
  
  <pre><code>dir_num = "1566510932"
  reduced_base_directory = phosphogly_ws_len_path + r"\" + dir_num + r".result" + r"\" + dir_num + r".fas."
  </code></pre>