Dive Into Python 3

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mikko Lehtinen
    Veteran
    • Sep 2010
    • 1246

    Dive Into Python 3

    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.
  • Mikko Lehtinen
    Veteran
    • Sep 2010
    • 1246

    #2
    Yay! It only took a (long) day to code the whole thing. What an awesome book.

    Comment

    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎