Skip to content

Instantly share code, notes, and snippets.

@jergosh
Last active August 29, 2015 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jergosh/af778c8b45009e32b6ae to your computer and use it in GitHub Desktop.
Save jergosh/af778c8b45009e32b6ae to your computer and use it in GitHub Desktop.
import glob
for d in glob.glob("/nfs/research2/goldman/gregs/slr_pipeline/data/ens/78/trees/*"):
print "Directory name", d
# Probably more useful but would print a lot of stuff
# for f in glob.glob("/nfs/research2/goldman/gregs/slr_pipeline/data/ens/78/trees/*/*.nh"):
# print "File name", f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment