python的idle在哪_Python:在python IDLE中怎么快捷查询函数说明

满意答案

t0105d6cf9b508f72c8.jpg

weirenlaopo

2013.07.19

t0105d6cf9b508f72c8.jpg

采纳率:48% 等级:12

已帮助:8973人

去试了试,果然可以,在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_root\python27\lib\site-packages\chardet\__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

你可以试试。

00分享举报

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值