Save image file in python

Save image file in python