This tickled a memory... I remember seeing a Bioinformatics for Perl book ~20 years ago. I found it on O'reilly's website: https://www.oreilly.com/library/view/beginning-perl-for/0596...
Searching more I see a Python one appears in 2009: https://www.oreilly.com/library/view/bioinformatics-programm...
And now there are several out. Plus expanded topics like Python and Machine Learning, Python and Data Analysis, etc.