Skip to content

Instantly share code, notes, and snippets.

@tucan9389
Created September 3, 2022 06:07
Show Gist options
  • Save tucan9389/09d386dac791547ef6ff336a50be79f5 to your computer and use it in GitHub Desktop.
Save tucan9389/09d386dac791547ef6ff336a50be79f5 to your computer and use it in GitHub Desktop.
import glob
# get all absolute paths of jpg images reculsively from the `path`
files = glob.glob(path + '/**/*.jpg', recursive=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment