In this fanciful book, the author imagines what it would be like to program the brain using the Python programming language. Along the way, he explores the nature of personality, emotion, free will, consciousness, and diversity, and suggests ways for us to prepare for the coming age of robots and intelligent automation.