Some python code takes a long time to run. It will be nice to execute the code only if it has changed.