I mean the Py comes from python where it certainly sounds more like pie.
The real question then is: How would the file ending .py be pronounced?