title: How would I loop through all the file names in a subdirectory on Google Cloud Storage with python?
body: <p>Say I have some bucket/subdirectory on Google Cloud Storage and this bucket's address is:</p>
  
  <pre><code>gs://test-monkeys-example/training_data/cats
  </code></pre>
  
  <p>In this cats subdirectory I have a bunch of images of cats, all of which are jpgs. How would I in python loop through the cats subdirectory and print out all the names of the files in it?</p>
  
  <p>Something like:</p>
  
  <pre><code>for x in directory('gs://test-monkeys-example/training_data/cats'):
      print(x)
  </code></pre>
  
  <p>Obviously directory('gs://test-monkeys-example/training_data/cats') is not how to do this and is just psuedocode- how would i do this?!</p>