Skip to content

Instantly share code, notes, and snippets.

@cmansley
Created August 8, 2011 23:03
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 cmansley/1132992 to your computer and use it in GitHub Desktop.
Save cmansley/1132992 to your computer and use it in GitHub Desktop.
Open get the name of all yaml files in a directory
names = [x for x in os.listdir(samples_dir + "/left/") if ".yaml" in x]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment