mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
15 lines
286 B
Python
15 lines
286 B
Python
import sys
|
|
import glob
|
|
import hashlib
|
|
|
|
def main():
|
|
for arg in sys.argv[1:]:
|
|
for name in glob.glob(arg):
|
|
m = hashlib.md5()
|
|
m.update(open(name, 'rb').read())
|
|
print('%-45s %s' % (name, m.hexdigest()))
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|