去试了试,果然可以,在IDLE中,通过:
import 模块名
help(模块名)
输出对应帮助信息的:
Python 2。7。2 (default, Jun 12 2011, 14:24:46) [MSC v。
1500 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information。
>>> import charset
Traceback (most recent call last):
File "
", line 1, in
import charset
ImportError: No module named charset
>>> import chardet
>>> help(chardet)
Help on package chardet:
NAME chardet
FILE e:dev_install_rootpython27libsite-packageschardet__init__。
py
DESCRIPTION
######################## BEGIN LICENSE BLOCK ########################
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2。
1 of the License, or (at your option) any later version。
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE。
See the GNU
# Lesser General Public License for more details。
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc。
, 51 Franklin St, Fifth Floor, Boston, MA
# 02110-1301 USA
######################### END LICENSE BLOCK #########################
PACKAGE CONTENTS
big5freq
big5prober
chardistribution
charsetgroupprober
charsetprober
codingstatemachine
constants
escprober
escsm
eucjpprober
euckrfreq
euckrprober
euctwfreq
euctwprober
gb2312freq
gb2312prober
hebrewprober
jisfreq
jpcntx
langbulgarianmodel
langcyrillicmodel
langgreekmodel
langhebrewmodel
langhungarianmodel
langthaimodel
latin1prober
mbcharsetprober
mbcsgroupprober
mbcssm
sbcharsetprober
sbcsgroupprober
sjisprober
universaldetector
utf8prober
FUNCTIONS detect(aBuf)
DATA __version__ = '1。
0。1'
VERSION 1。0。1
>>>
另外,我查看python自带模块和函数,都是通过英文手册查的。
即那个:
Python Manuals
即微软帮助文件,标题是:Python v2。
7。2 document
你可以试试。