def get_md5sum(src_file):
with open(src_file, '<STR_LIT:r>') as src_data:<EOL><INDENT>src_content = src_data.read()<EOL>if sys.version_info[<NUM_LIT:0>] == <NUM_LIT:3>:<EOL><INDENT>src_content = src_content.encode('<STR_LIT:utf-8>')<EOL><DEDENT>src_md5 = hashlib.md5(src_content).hexdigest()<EOL><DEDENT>return src_md5<EOL>
Returns md5sum of file