Created
April 28, 2020 19:19
-
-
Save aravindpai/c6ff11df4e20ce51d1080078cd966002 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 os | |
import re | |
names=os.listdir('frames/') | |
names.sort(key=lambda f: int(re.sub('\D', '', f))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment