对python的手册真的很无语,该怎么处理

对python的手册真的很无语
python3.3手册HTMLParser一节居然没写支持 unescape(),只列在SAX一节
还是google到别人这样用才晓得
灰常有用的函数啊


>>> import html.parser
>>> h = html.parser.HTMLParser()
>>> s = h.unescape('© 2010')
>>> s
u'\xa9 2010'
>>> print s
© 2010
>>> s = h.unescape('© 2010')
>>> s
u'\xa9 2010'

>>> '袈'.encode("unicode-escape")
b'\\u8888'
>>> chr(int('8888', 16))
'袈'

>>> h.unescape('♥')
'♥'
>>> h.unescape('♥')
'♥'
>>> h.unescape('♥')
'♥'
>>> '♥'.encode("unicode-escape")
b'\\u2665'
>>> chr(int('2665', 16))
'♥'

>>> import html.entities as h
>>> h.name2codepoint['hearts']
9829
python html entities unicode

------解决方案--------------------
同样对手册表示无语的路过,检索不方便,函数描述没有固定的格式,找东西麻烦。
最有用的可能就是入门教程,经常去里面找东西。
------解决方案--------------------
要不咱们建立一个小组,修改一下python的官方doc。

并不是翻译成中文,而是增加一些小例子,另外用tk或wx建一个UI。用UI来搜索、查看示例代码。把chm浏览器替换掉。

觉得怎么样呢?  有人愿意吗??

------解决方案--------------------
引用:
要不咱们建立一个小组,修改一下python的官方doc。

并不是翻译成中文,而是增加一些小例子,另外用tk或wx建一个UI。用UI来搜索、查看示例代码。把chm浏览器替换掉。

觉得怎么样呢?  有人愿意吗??

对python的手册真的很无语,该怎么处理
------解决方案--------------------
这个。。。去加盟python.org好了。


------解决方案--------------------
引用:
要不咱们建立一个小组,修改一下python的官方doc。

并不是翻译成中文,而是增加一些小例子,另外用tk或wx建一个UI。用UI来搜索、查看示例代码。把chm浏览器替换掉。

觉得怎么样呢?  有人愿意吗??

有一个很有名的blog,弄了个专题叫PyMOTW: Python Module of the Week
http://www.doughellmann.com/PyMOTW/
------解决方案--------------------
ZipFile.infolist() 
Return a list containing a ZipInfo object for each member of the archive. The objects are in the same order as their entries in the actual ZIP file on disk if an existing archive was opened.

ZipFile.namelist() 
Return a list of archive members by name.

貌似应该是打开的zipfile对象函数