2005年12月22日 星期四 12:38
我完全是一个程序新手,以前没有任何的编程经历。现在爱上python,正在努力学习它,但是有一个问题一直困扰我:怎样去阅读python library reference?我怎么知道该在代码中使用哪个module的哪个function或者object? 拜谢! -- 王家驷 中国 四川 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20051222/59064dba/attachment.htm
2005年12月27日 星期二 12:52
多看点书就知道了。 在05-12-22,家驷王 <oneclubw at gmail.com> 写道: > > 我完全是一个程序新手,以前没有任何的编程经历。现在爱上python,正在努力学习它,但是有一个问题一直困扰我:怎样去阅读python library > reference?我怎么知道该在代码中使用哪个module的哪个function或者object? > 拜谢! > > -- > 王家驷 > 中国 四川 > _______________________________________________ > python-chinese > Post: send python-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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20051227/6a07b644/attachment.html
2005年12月27日 星期二 12:55
在 05-12-22,家驷王<oneclubw at gmail.com> 写道: > 我完全是一个程序新手,以前没有任何的编程经历。现在爱上python,正在努力学习它,但是有一个问题一直困扰我:怎样去阅读python > library reference?我怎么知道该在代码中使用哪个module的哪个function或者object? > 拜谢! python (windows版本)自带一个.chm的文档,里面有所有自带库的文档,去看吧。多看就知道了。 -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit
2005年12月27日 星期二 13:24
要想知道用哪个模块的哪个函数,没有别的办法,花时间研究,多读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
此外,最权威的,最终的文献,rfc
12
重点, email
参考 rfc 822, rfc 2822 (很遗憾,网上没有比较好的入门教材,好像ringkee有一个,不知道是不是这个名字,但一般)
13.
全部
参考 Python & XML
14.
忽略
15.
掌握
16.
视个人需求
17,18,19,20,21
忽略
22
msvcrt
参考书目,Python in a Nutshell
On 12/21/05, 家驷王 <oneclubw at gmail.com> wrote:
> 我完全是一个程序新手,以前没有任何的编程经历。现在爱上python,正在努力学习它,但是有一个问题一直困扰我:怎样去阅读python
> library reference?我怎么知道该在代码中使用哪个module的哪个function或者object?
> 拜谢!
>
> --
> 王家驷
> 中国 四川
> _______________________________________________
> python-chinese
> Post: send python-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
>
>
2005年12月27日 星期二 13:36
从头开始吧。 看简明教程 在05-12-22,家驷王 <oneclubw at gmail.com> 写道: > > 我完全是一个程序新手,以前没有任何的编程经历。现在爱上python,正在努力学习它,但是有一个问题一直困扰我:怎样去阅读python library > reference?我怎么知道该在代码中使用哪个module的哪个function或者object? > 拜谢! > > -- > 王家驷 > 中国 四川 > _______________________________________________ > python-chinese > Post: send python-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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20051227/dd470444/attachment.html
2005年12月27日 星期二 13:45
googlegooglegooglegooglegooglegooglegooglegooglegoogle http://lj0508.bokee.com/ http://www.cnblogs.com/lj0508
2005年12月27日 星期二 15:52
在05-12-27,shhgs <shhgs.efhilt at gmail.com> 写道: > > 要想知道用哪个模块的哪个函数,没有别的办法,花时间研究,多读reference library > > 注意,要记笔记,好记性不如烂笔头。笔记是自己理解的轨迹,等重新复习的时候,看两眼笔记就自然想起来了。 > > > 很多时候读不懂reference library是因为不懂网络协议的缘故。 > > 我这里简单写几句,如果写错了,希望有朋友能指出。 感谢 *shhgs 大大!* -- 云电清华同方小民工 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20051227/2972ddc4/attachment.htm
2005年12月27日 星期二 16:28
coding,coding and coding,syntax will not be your problem On 12/27/05, missv <lj0508 at gmail.com> wrote: > > googlegooglegooglegooglegooglegooglegooglegooglegoogle > > http://lj0508.bokee.com/ > http://www.cnblogs.com/lj0508 > _______________________________________________ > python-chinese > Post: send python-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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20051227/650292fa/attachment.htm
Zeuux © 2025
京ICP备05028076号