Skip to content

Instantly share code, notes, and snippets.

@shks
Created January 18, 2021 04:52
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 shks/b68c01502cdd3c9e5baa28430f29ed18 to your computer and use it in GitHub Desktop.
Save shks/b68c01502cdd3c9e5baa28430f29ed18 to your computer and use it in GitHub Desktop.
特定ファイルリストを取得
import glob
_list = glob.glob("*.mov", recursive=True)
for fname in _list:
sampleName = os.path.basename(fname).split('.', 1)[0]
print(sampleName)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment