在IDE解释器中,执行help('modules')可查看当前环境可调用的Python模块:

>>> help('modules')

Please wait a moment while I gather a list of all available modules...

__future__          atexit              http                scrolledlist
__main__ audioop hyperparser search
_abc autocomplete idle searchbase
_ast autocomplete_w idle_test searchengine
_asyncio autoexpand idlelib secrets
_bisect base64 imaplib select
_blake2 bdb imghdr selectors
_bootlocale binascii imp setuptools
_bz2 binhex importlib shelve
_codecs bisect inspect shlex
_codecs_cn browser io shutil
_codecs_hk builtins iomenu signal
_codecs_iso2022 bz2 ipaddress site
_codecs_jp cProfile itertools smtpd
_codecs_kr calendar json smtplib
_codecs_tw calltip keyword sndhdr
_collections calltip_w lib2to3 socket
_collections_abc cgi linecache socketserver
_compat_pickle cgitb locale sqlite3
_compression chunk logging squeezer
_contextvars cmath lzma sre_compile
_csv cmd macosx sre_constants
_ctypes code macpath sre_parse
_ctypes_test codecontext mailbox ssl
_datetime codecs mailcap stackviewer
_decimal codeop mainmenu stat
_dummy_thread collections marshal statistics
_elementtree colorizer math statusbar
_functools colorsys mimetypes string
_hashlib compileall mmap stringprep
_heapq concurrent modulefinder struct
_imp config msilib subprocess
_io config_key msvcrt sunau
_json configdialog multicall symbol
_locale configparser multiprocessing symtable
_lsprof contextlib netrc sys
_lzma contextvars nntplib sysconfig
_markupbase copy nt tabnanny
_md5 copyreg ntpath tarfile
_msi crypt nturl2path telnetlib
_multibytecodec csv numbers tempfile
_multiprocessing ctypes opcode test
_opcode curses operator textview
_operator dataclasses optparse textwrap
_osx_support datetime os this
_overlapped dbm outwin threading
_pickle debugger paragraph time
_py_abc debugger_r parenmatch timeit
_pydecimal debugobj parser tkinter
_pyio debugobj_r pathbrowser token
_queue decimal pathlib tokenize
_random delegator pdb tooltip
_sha1 difflib percolator trace
_sha256 dis pickle traceback
_sha3 distutils pickletools tracemalloc
_sha512 doctest pip tree
_signal dummy_threading pipes tty
_sitebuiltins dynoption pkg_resources turtle
_socket easy_install pkgutil turtledemo
_sqlite3 editor platform types
_sre email plistlib typing
_ssl encodings poplib undo
_stat ensurepip posixpath unicodedata
_string enum pprint unittest
_strptime errno profile urllib
_struct faulthandler pstats uu
_symtable filecmp pty uuid
_testbuffer fileinput py_compile venv
_testcapi filelist pyclbr warnings
_testconsole fnmatch pydoc wave
_testimportmultiple formatter pydoc_data weakref
_testmultiphase fractions pyexpat webbrowser
_thread ftplib pyparse window
_threading_local functools pyshell winreg
_tkinter gc query winsound
_tracemalloc genericpath queue wsgiref
_warnings getopt quopri xdrlib
_weakref getpass random xml
_weakrefset gettext re xmlrpc
_winapi glob redirector xxsubtype
abc grep replace zipapp
aifc gzip reprlib zipfile
antigravity hashlib rlcompleter zipimport
argparse heapq rpc zlib
array help rstrip zoomheight
ast help_about run zzdummy
asynchat history runpy
asyncio hmac runscript
asyncore html sched Enter any module name to get more help. Or, type "modules spam" to search
for modules whose name or summary contain the string "spam". >>>

各个模块的作用及使用方法:

————————(我是分割线)————————

参考:

None

备注:

初次编辑时间:2019年10月6日11:18:28

环境:Windows 7   / Python 3.7.2

#【Python】【基础知识】【模块】【Python的常用模块】的更多相关文章

  1. Python基础(正则、序列化、常用模块和面向对象)-day06

    写在前面 上课第六天,打卡: 天地不仁,以万物为刍狗: 一.正则 - 正则就是用一些具有特殊含义的符号组合到一起(称为正则表达式)来描述字符或者字符串的方法: - 在线正则工具:http://tool ...

  2. python爬虫主要就是五个模块:爬虫启动入口模块,URL管理器存放已经爬虫的URL和待爬虫URL列表,html下载器,html解析器,html输出器 同时可以掌握到urllib2的使用、bs4(BeautifulSoup)页面解析器、re正则表达式、urlparse、python基础知识回顾(set集合操作)等相关内容。

    本次python爬虫百步百科,里面详细分析了爬虫的步骤,对每一步代码都有详细的注释说明,可通过本案例掌握python爬虫的特点: 1.爬虫调度入口(crawler_main.py) # coding: ...

  3. python基础系列教程——Python3.x标准模块库目录

    python基础系列教程——Python3.x标准模块库目录 文本 string:通用字符串操作 re:正则表达式操作 difflib:差异计算工具 textwrap:文本填充 unicodedata ...

  4. python基础知识小结-运维笔记

    接触python已有一段时间了,下面针对python基础知识的使用做一完整梳理:1)避免‘\n’等特殊字符的两种方式: a)利用转义字符‘\’ b)利用原始字符‘r’ print r'c:\now' ...

  5. Python 基础知识(一)

    1.Python简介 1.1.Python介绍 python的创始人为吉多·范罗苏姆(Guido van Rossum).1989年的圣诞节期间,吉多·范罗苏姆(中文名字:龟叔)为了在阿姆斯特丹打发时 ...

  6. Python基础知识(五)------字典

    Python基础知识(四)------字典 字典 一丶什么是字典 ​ dict关键字 , 以 {} 表示, 以key:value形式保存数据 ,每个逗号分隔 ​ 键: 必须是可哈希,(不可变的数据类型 ...

  7. python 基础知识(一)

    python 基础知识(一) 一.python发展介绍 Python的创始人为Guido van Rossum.1989年圣诞节期间,在阿姆斯特丹,Guido为了打发圣诞节的无趣,决心开发一个新的脚本 ...

  8. python基础知识的学习和理解

    参考链接:https://github.com/yanhualei/about_python/tree/master/python_learning/python_base   python基础知识笔 ...

  9. Python基础知识(六)------小数据池,集合,深浅拷贝

    Python基础知识(六)------小数据池,集合,深浅拷贝 一丶小数据池 什么是小数据池: ​ 小数据池就是python中一种提高效率的方式,固定数据类型使用同一个内存地址 代码块 : ​ 一个文 ...

  10. Python基础知识总结笔记(四)函数

    Python基础知识总结笔记(四)函数python中的函数函数中的参数变量作用域偏函数PFA递归函数高阶函数BIFs中的高阶函数匿名函数lambda闭包Closure装饰器Decorator函数式编程 ...

随机推荐

  1. sigprocmask , sigpending 和 sigsuspend函数

    转自 http://blog.csdn.net/elbort/article/details/7594772 sigprocmask函数:功能描述:设定对信号屏蔽集内的信号的处理方式(阻塞或不阻塞). ...

  2. pymysql基本使用

    导入模块 import pymysql 连接(看一下password有没有,没有的话会怎么样,有很多参数,有些参数也是可以不传的) conn = pymysql.connect(user = &quo ...

  3. Smali基础知识

    Smali是用于Dalvik(Android虚拟机)的反汇编程序实现 汇编工具(将Smali代码汇编为dex文件)为smali.jar baksmali.jar则是反汇编程序 地址:https://b ...

  4. spark-submit 参数总结

    spark-submit 可以提交任务到 spark 集群执行,也可以提交到 hadoop 的 yarn 集群执行. 1)./spark-shell --help   :不知道如何使用,可通过它查看命 ...

  5. hadoop查看文件大小

    hadoop fs -du /yj/input/ 列出input下所有文件的大小,以B为单位 #!/bin/sh #echo "hadoop fs -du /" hadoop fs ...

  6. 关于OpenCL中三重循环的执行次序

    源自OpenGPU社区的一个帖子的讨论: 一个有意思的openCL问题

  7. 【MYSQL】存储过程示例

    GROUPEMP_EXISTS: ), ), )) LANGUAGE SQL NOT DETERMINISTIC CONTAINS SQL SQL SECURITY DEFINER COMMENT ' ...

  8. jpa 总结

    转:http://blog.csdn.net/linzhiqiang0316/article/details/52639265 先来介绍一下JPA中一些常用的查询操作: //And --- 等价于 S ...

  9. 三种单点登录SSO的实现原理

    单点登录SSO(Single Sign On)说得简单点就是在一个多系统共存的环境下,用户在一处登录后,就不用在其他系统中登录,也就是用户的一次登录能得到其他所有系统的信任.单点登录在大型网站里使用得 ...

  10. CockroachDB学习笔记——[译]Scaling Raft

    原文链接:https://www.cockroachlabs.com/blog/scaling-raft/ 原作者:Ben Darnell 原文日期:Jun 11, 2015 译:zifeiy 在Co ...