欢迎来到天天文库
浏览记录
ID:32365426
大小:3.16 MB
页数:974页
时间:2019-02-03
《Python Cookbook, 2nd Edition (2005)》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、PythonCookbook,2ndEditionByDavid Ascher,Alex Martelli,Anna RavenscroftPublisher:O'ReillyPubDate:March2005ISBN:0-596-00797-3Pages:844Tableof Contents Index ReviewsReaderLikeitspredecessor,theneweditionoffersacollectionofsolutionsto ReviewsproblemsthatPython
2、programmersfaceeveryday.UpdatedforPython Errata2.4,itnowincludesover200recipesthatrangefromsimpletasks,such Academicasworkingwithdictionariesandlistcomprehensions,tocomplextasks,suchasmonitoringanetworkandbuildingatemplatingsystem.PythonCookbook,2ndEdition
3、ByDavid Ascher,Alex Martelli,Anna RavenscroftPublisher:O'ReillyPubDate:March2005ISBN:0-596-00797-3Pages:844Tableof Contents Index ReviewsReader Reviews Errata AcademicCopyrightPrefaceTheDesignoftheBookTheImplementationoftheBookUsingtheCodefromThisBookAudie
4、nceOrganizationFurtherReadingConventionsUsedinThisBookHowtoContactUsSafari®EnabledAcknowledgmentsChapter1. TextIntroductionRecipe 1.1. ProcessingaStringOneCharacterataTimeRecipe 1.2. ConvertingBetweenCharactersandNumericCodesRecipe 1.3. TestingWhetheranObj
5、ectIsString-likeRecipe 1.4. AligningStringsRecipe 1.5. TrimmingSpacefromtheEndsofaStringRecipe 1.6. CombiningStringsRecipe 1.7. ReversingaStringbyWordsorCharactersRecipe 1.8. CheckingWhetheraStringContainsaSetofCharactersRecipe 1.9. SimplifyingUsageofStrin
6、gs'translateMethodRecipe 1.10. FilteringaStringforaSetofCharactersRecipe 1.11. CheckingWhetheraStringIsTextorBinaryRecipe 1.12. ControllingCaseRecipe 1.13. AccessingSubstringsRecipe 1.14. ChangingtheIndentationofaMultilineStringRecipe 1.15. ExpandingandCom
7、pressingTabsRecipe 1.16. InterpolatingVariablesinaStringRecipe 1.17. InterpolatingVariablesinaStringinPython2.4Recipe 1.18. ReplacingMultiplePatternsinaSinglePassRecipe 1.19. CheckingaStringforAnyofMultipleEndingsRecipe 1.20. HandlingInternationalTextwithU
8、nicodeRecipe 1.21. ConvertingBetweenUnicodeandPlainStringsRecipe 1.22. PrintingUnicodeCharacterstoStandardOutputRecipe 1.23. EncodingUnicodeDataforXMLandHTMLRecipe 1.24. MakingSomeStringsCase-InsensitiveRecip
此文档下载收益归作者所有