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
#!/usr/bin/env python3 | |
"""Extract JPEG files from Sony PMP files""" | |
import sys | |
import os | |
for name in sys.argv[1:]: | |
print(name, end='->') | |
with open(name, 'rb') as fp: |