Earlier quoted context omitted.
People like shell scripts because you have one interface: text For example: you need to write an image to a USB stick. Python: pretty lengthy BASH: image > /dev/SDA Both will do exactly the same, but one is a few lines of python the other just one line in bash.
Why a throwaway for this? Is this a gpt response? Also it's not right. You need to do something like image.img /dev/sda
Did this look like a proper bash command to you?! Maybe that was some runable python code?!
File ending has nothing to do with its contents. Image.img could be an mp3.
Stop hairsplitting.