Text Processing in Python

http://gnosis.cx/TPiP/ 

Text Processing in Python

by David Mertz -- published by Addison Wesley


Publications of David Mertz  --  Gnosis Software Home  --  Code samples from the book  --  Errata
Thursday 2006-06-07

Sob story: I put up the above PayPal button a year or two back. A couple of you make donations each month (out of about a thousand of you reading the text each week). Tragedy of the commons and all that... but if some more of you would donate a few bucks, that would be great support of the author.

If you want to buy the printed version this Amazon link lets me get a small commission on each sale, about equal to the royalty from the publisher, but coming much quicker (and not affecting the eventual royalty; so I get double). Feel free to email me also.

In a community spirit (and with permission of my publisher), I am making my book available to the Python community. Minor corrections can be made to later printings, and at the least errata noted on this website. Email me at <mertz@gnosis.cx> .

A few caveats: (1) This stuff is copyrighted by AW (except the code samples which are released to the public domain). Feel free to use this material personally; but no permission is given for further distribution beyond your personal use. (2) The book is provided in "smart ASCII" format. This is converted to print (and maybe to fancier electronic formats) by automated scripts (txt->LaTeX->PDF for the printed version). As a highly sophisticated "digital rights management" system, those scripts are not themselves made readily available. :-)


[TXT] acknowledgments.txtFOLKS WHO HAVE MADE THIS BOOK BETTER
[TXT] intro.txtINTRODUCTION
[TXT] chap1.txtPYTHON BASICS
[TXT] chap2.txtBASIC STRING OPERATIONS
[TXT] chap3.txtREGULAR EXPRESSIONS
[TXT] chap4.txtPARSERS AND STATE-MACHINES
[TXT] chap5.txtINTERNET TOOLS AND TECHNIQUES
[TXT] appendix_a.txtA SELECTIVE AND IMPRESSIONISTIC SHORT REVIEW OF PYTHON
[TXT] appendix_b.txtA DATA COMPRESSION PRIMER
[TXT] appendix_c.txtUNDERSTANDING UNICODE
[TXT] appendix_d.txtA STATE-MACHINE FOR ADDING MARKUP TO TEXT
[TXT] glossary.txtGLOSSARY TERMS



发现一篇好东西,关于Python进行文件处理的,不过好像对字符串的操作没有什么介绍。有一本电子书Text Processing in Python》,非常好,专攻Python中的文本处理,作者也是Python社区的牛人,在IBM的developerWorks开有Charming Python专栏,可惜更新太慢。

对于做文本处理方面的朋友,Text Processing in Python尤其对口,以前还打算翻译过来了,贡献给IR Lab,可惜如今身在江湖,有心杀敌,无力回天啊 :)



Trackback: http://tb.donews.net/TrackBack.aspx?PostId=540681

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值