Matteo Mattei

Hello, my name is Matteo Mattei and this is my personal website. I am computer engineer with a long experience in Linux system administration and web software development.

linkedin rss twitter google+ github facebook

How to calculate the crc32 of a file in Python

Calculating the crc32 of a file in Python is very simple but I often forgot how to do. For this reason I put this snippet here:

You can simply call the CRC32_from_file() function passing a file with the whole path as argument.

comments powered by Disqus