Created
January 18, 2021 04:52
-
-
Save shks/b68c01502cdd3c9e5baa28430f29ed18 to your computer and use it in GitHub Desktop.
特定ファイルリストを取得
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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