Python check if file content changes. utcfromtimestamp(os. 3+, use the 'x' flag when open() ing a file to avoid race ...