Turns out reading Dive Into Python 3 is an excellent way to learn.
I'm not a programmer by trade, but it's a hobby that I enjoy. I recently took up the challenge to write a program that takes an adult education organization's course information in XML, reorganizes the information under different titles and into paragraphs, tidies up the text and fixes common errors. I've edited/designed the 100-page dead-tree course program for years. The program will hopefully save us at least a hundred hours of manual work each year, maybe much more.
Dive Into Python 3 teaches me almost everything I need to know to write this thing. The book's concrete examples are really helpful. It's not that hard to separate data about common spelling errors (regular expressions) and how to correct them to a text file. Then maybe a function that generates tens of error correction functions based on that information... Wow.
Python 3's improved unicode handling makes everything easier.
I'm not a programmer by trade, but it's a hobby that I enjoy. I recently took up the challenge to write a program that takes an adult education organization's course information in XML, reorganizes the information under different titles and into paragraphs, tidies up the text and fixes common errors. I've edited/designed the 100-page dead-tree course program for years. The program will hopefully save us at least a hundred hours of manual work each year, maybe much more.
Dive Into Python 3 teaches me almost everything I need to know to write this thing. The book's concrete examples are really helpful. It's not that hard to separate data about common spelling errors (regular expressions) and how to correct them to a text file. Then maybe a function that generates tens of error correction functions based on that information... Wow.
Python 3's improved unicode handling makes everything easier.
Comment