用法:
NNTP.descriptions(grouppattern)
寄一個
LIST NEWSGROUPS
命令,在哪裏grouppattern
是指定的通配符字符串RFC 3977(它本質上與 DOS 或 UNIX shell 通配符字符串相同)。返回一對(response, descriptions)
,其中descriptions
是將組名映射到文本說明的字典。>>> resp, descs = s.descriptions('gmane.comp.python.*') >>> len(descs) 295 >>> descs.popitem() ('gmane.comp.python.bio.general', 'BioPython discussion list (Moderated)')
相關用法
- Python nntplib.NNTP.getcapabilities用法及代碼示例
- Python nntplib.NNTP.article用法及代碼示例
- Python nntplib.NNTP.newgroups用法及代碼示例
- Python nntplib.NNTP.over用法及代碼示例
- Python nntplib.NNTP.stat用法及代碼示例
- Python nntplib.NNTP用法及代碼示例
- Python nntplib.decode_header用法及代碼示例
- Python numpy.less()用法及代碼示例
- Python numpy.polynomial.hermite.hermmul用法及代碼示例
- Python numpy.seterrobj用法及代碼示例
- Python numpy.tril()用法及代碼示例
- Python numpy.around用法及代碼示例
- Python numpy.random.standard_normal()用法及代碼示例
- Python numpy.select用法及代碼示例
- Python numpy.fft.irfft2用法及代碼示例
- Python numpy.polynomial.hermite_e.hermemul用法及代碼示例
- Python numpy.fft.irfftn用法及代碼示例
- Python numpy.nonzero()用法及代碼示例
- Python numpy.maximum_sctype()用法及代碼示例
- Python numpy.ma.dstack用法及代碼示例
注:本文由純淨天空篩選整理自python.org大神的英文原創作品 nntplib.NNTP.descriptions。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。