title: Export Glob list to CSV
body: <p>I have a folder named &quot;Photos&quot; that contains several images. I am using Glob to list all these images along with their full directory paths. I can print the list and see the full list of paths, however, I am now struggling to export this list into a CSV with a single column. My code is as follows:</p>
  <pre><code>Import glob
  
  for file in glob.glob(r&quot;C:\Users\myself\Photos*&quot;):
      print(file)
  </code></pre>
  <p>Normally I would use Pandas to read CSVs by putting them into a dataframe, but for a glob list I am struggling</p>
  <p>appreciate any guidance or help</p>