recommend book for python interfacing with Arduino

Global variables are bad but you need them in python because you can't have static local variables in the language.