Opening .img (Disk Image File) in Python

Seems like an error here,