Doing image manipulation tutorials with python