Durim,
Thank you for your question - yes, Teach Your Kids to Code is written for adults and kids alike, with a focus on beginners. My father-in-law is 76 years old and teaching himself Python using my book (he was one of my first readers), and I've gotten great reviews and feedback from parents and other adults that the visual approach and short programs are non-threatening and clear enough that "even a parent" can learn to code
.
As for web programming, it's more common that Python would run on the server - Google App Engine and Amazon Web Services let you program cloud-based apps in Python. If she's looking for front-end web development, HTML and JavaScript are good starting points, but if she's interested in server-side programming, Python is powerful enough to run YouTube's servers (
https://www.python.org/about/quotes/ ), and it's clean and beginner-friendly, too.
It's great to be on the Ranch this week, and best wishes to you and your wife, whichever programming language she tackles first. The book site has a sample chapter at
http://nostarch.com/teachkids, and all my source code files are free to download, feel free to have her give it a try, and let me know if I can be of help.
Sincerely,
Bryson