Last active
June 8, 2020 01:10
-
-
Save jss367/b77ef85ce3b46a7cb2ef7df8b2679fb9 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 mimetypes | |
image_extensions = set(k for k, v in mimetypes.types_map.items() if v.startswith('image')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment