title: Am I able to use "f" to format string and "r" to find files at the same time?
body: <p>I have this code where I am trying to prompt the user to input a path for a file and depending on the title of the file, it would rename it accordingly. This is what I have so far:</p>
  <pre class="lang-py prettyprint-override"><code>import os
  
  path = input('PATH: ')
  if 'Factssheet' in path:
      os.rename(path, #updated_name)
  </code></pre>
  <p>I want to rename the file to <code>Fact Sheet</code> if <code>Factssheet</code> appears inside the previous title. However, I have 2 issues at the moment. I know that you have to add &quot;r&quot; before specifying a path and I'm not sure why but it's alright I guess. And I think I have to string format it in order to actually rename it? I honestly tried <code>rf&quot;{path}&quot;</code> but that does not work. I've also tried <code>r&quot;%s&quot; % path</code> but that's also a no go for me.</p>
  <p>Am I too far off track? Anything would be appreciated.</p>