Re: [python-chinese] 关于python库指南的阅读

来源:百度文库 编辑:神马文学网 时间:2024/04/27 17:25:58
shhgsshhgs.efhilt at gmail.com
Tue Dec 27 13:24:50 HKT 2005
Previous message:Re: [python-chinese] 关于python库指南的阅读 Next message:Re: [python-chinese] 关于python库指南的阅读 Messages sorted by:[ date ][ thread ][ subject ][ author ]
要想知道用哪个模块的哪个函数,没有别的办法,花时间研究,多读reference library注意,要记笔记,好记性不如烂笔头。笔记是自己理解的轨迹,等重新复习的时候,看两眼笔记就自然想起来了。很多时候读不懂reference library是因为不懂网络协议的缘故。我这里简单写几句,如果写错了,希望有朋友能指出。2. Built-in Object无需import任何module就能使用的函数,必须掌握3. Python Runtime service暂时放过,积累一定的经验,到时候自然能看懂4. String Service必看,且无甚难度重点,string, codecs, re。此外,StringIO, cStringIO很常用,textwrap似乎很有用,但我没用过。其他用的时候再看5. Misc掌握decimal, math, random, whrandom其余暂时放过,积累一定的经验,主要是做过一点开发之后,自然能看懂6. Generic OS掌握os(主要是文件操作), os.path, subprocess, glob, shutil其余需Unix的开发经验才能理解,实在是非一日之功7. Optional OS初学者避开8. Unix初学者避开9, 10, debugger and profiler暂时避开,做过一点开发后自然有要求,也自然能读懂11.重点,urllib, urllib2, poplib, ftplib, smtplib, telnetlib, urlparse参考书目,dive into python, (http)Foundations of Python Network Programming(到apress下载样章, 关于ftp的)smtp,参考Postfix the definitive guide关于smtp协议介绍部分学习smtplib此外,最权威的,最终的文献,rfc12重点, email参考 rfc 822, rfc 2822 (很遗憾,网上没有比较好的入门教材,好像ringkee有一个,不知道是不是这个名字,但一般)13.全部参考 Python & XML14.忽略15.掌握16.视个人需求17,18,19,20,21忽略22msvcrt参考书目,Python in a NutshellOn 12/21/05, 家驷王 wrote:> 我完全是一个程序新手,以前没有任何的编程经历。现在爱上python,正在努力学习它,但是有一个问题一直困扰我:怎样去阅读python> library reference?我怎么知道该在代码中使用哪个module的哪个function或者object?> 拜谢!>> --> 王家驷> 中国 四川> _______________________________________________> python-chinese> Post: sendpython-chinese at lists.python.cn> Subscribe: send subscribe to>python-chinese-request at lists.python.cn> Unsubscribe: send unsubscribe to>python-chinese-request at lists.python.cn> Detail Info:>http://python.cn/mailman/listinfo/python-chinese>>
Previous message:Re: [python-chinese] 关于python库指南的阅读 Next message:Re: [python-chinese] 关于python库指南的阅读 Messages sorted by:[ date ][ thread ][ subject ][ author ]
More information about the python-chinese mailing list