title: renaming files to incremental values with correct digits
body: <p>I would like to rename a list of pictures based on a root name being the directory name, (picture in this example) by padding the previous numbering with the appropriate of zeros based on the total number of files and increment. I was thinking of using Powershell or Python. Recommendations?</p>
  
  <p>current 'C:\picture' directory contents</p>
  
  <pre><code>pic 1.jpg
  ...
  pic 101.jpg
  </code></pre>
  
  <p>Result</p>
  
  <pre><code>picture 001.jpg
  ...
  picture 101.jpg
  </code></pre>