title: How to convert eps files to png files with maintaining names?
body: <p>In some folder on Linux I have got files *.eps and I would like to convert them into *.png with maintaining names, e.g.: ball.eps to ball.png. I tried to do:</p>
  
  <pre><code>convert *.eps *.png
  </code></pre>
  
  <p>but the result wasn't satisfied. To do that I need to write some simple script maybe in Python or bash, so how can I take the files name from folder, e.g. in Python? Thanks.</p>