title: Find and rename files using a Python script
body: <p>I am new to Python coding so here a question. I want to find files that are called "untitled" with any kind of extension, e.g. jpg, indd, psd. Then rename them to the date of the current day.</p>
  
  <p>I have tried the following:</p>
  
  <pre><code>import os
  
  for file in os.listdir("/Users/shirin/Desktop/Artez"):
      if file.endswith("untitled.*"):
          print(file)
  </code></pre>
  
  <p>When I run the script, nothing happens.</p>