<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://supermanhamuerto.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://supermanhamuerto.com/feed.php">
        <title>supermanhamuerto.com - python</title>
        <description></description>
        <link>https://supermanhamuerto.com/</link>
        <image rdf:resource="https://supermanhamuerto.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-05-01T19:59:50+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://supermanhamuerto.com/doku.php?id=python:index&amp;rev=1670014949&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://supermanhamuerto.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>supermanhamuerto.com</title>
        <link>https://supermanhamuerto.com/</link>
        <url>https://supermanhamuerto.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://supermanhamuerto.com/doku.php?id=python:index&amp;rev=1670014949&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-12-02T21:02:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>index</title>
        <link>https://supermanhamuerto.com/doku.php?id=python:index&amp;rev=1670014949&amp;do=diff</link>
        <description>Python

md5sum in python



#
# md5sum.py
#

import sys
import hashlib 


if __name__ == &#039;__main__&#039;: 
	
	for filename in sys.argv[1:] : 
		with open(filename, &quot;rb&quot; ) as file : 
			md5 = hashlib.md5() 
			chunksize = 65536 # 64k&#039;s
			content = file.read( chunksize )
			while content != b&#039;&#039; : 
				md5.update(content)
				content = file.read( chunksize )

			md5.digest()
			if len(sys.argv[1:]) &gt; 1 : 
				print( f&quot;{filename}: &quot;, end =&#039;&#039; )
			print(md5.hexdigest())</description>
    </item>
</rdf:RDF>
