代码如下:
python
>>> help('modules')
Please wait a moment while I gather a list of all available modules...
BaseHTTPServer bz2 iniparse runpy
Bastion cPickle inspect sched
CDROM cProfile io select
CGIHTTPServer cStringIO itertools sendfile
ConfigParser calendar itsdangerous serial
Cookie certifi jinja2 sets
Crypto cffi json setuptools
DLFCN cgi jsonschema sgmllib
DocXMLRPCServer cgitb keyword sha
HTMLParser characteristic libmount shelve
IN chardet linecache shlex
MimeWriter chunk locale shutil
Queue click logbook signal
RPi cmath logging singledispatch
SimpleHTTPServer cmd macpath singledispatch_helpers
SimpleXMLRPCServer code macurl2path site
SocketServer codec mailbox six
StringIO codecs mailcap smb
TYPES codeop mako smtpd
UserDict collections markdown2 smtplib
UserList colorsys markupbase sndhdr
UserString commands markupsafe socket
_LWPCookieJar compat marshal socketio
_MozillaCookieJar compileall math socks
__builtin__ compiler mbstrdecoder sockshandler
__future__ concurrent md5 spwd
_abcoll constantly mhlib sqlite3
_ast contextlib mimetools sre
_bisect cookielib mimetypes sre_compile
_bsddb copy mimify sre_constants
_cffi_backend copy_reg mmap sre_parse
_codecs couchdb modulefinder ssl
_codecs_cn crypt multifile stat
_codecs_hk csv multiprocessing statvfs
_codecs_iso2022 ctypes mutex string
_codecs_jp curses mwclient stringold
_codecs_kr daemon netaddr stringprep
_codecs_tw dataproperty netifaces strop
_collections datetime netrc struct
_csv dateutil new subprocess
_ctypes dbhash nmb sunau
_ctypes_test decimal nntplib sunaudio
_curses difflib ntpath symbol
_curses_panel dircache nturl2path symtable
_elementtree dis numbers sys
_functools distutils opcode sysconfig
_hashlib django operator syslog
_heapq doctest optparse tabnanny
_hotshot docutils os tarfile
_io dominate os2emxpath telnetlib
_json dumbdbm parser tempfile
_locale dummy_thread path termios
_lsprof dummy_threading pathtools test_characteristic
_markerlib easy_install pathvalidate test_path
_multibytecodec email pdb textwrap
_multiprocessing encodings pexpect this
_osx_support engineio pickle thread
_pyio ensurepip pickletools threading
_random errno pipes time
_socket exceptions pkg_resources timeit
_sqlite3 fcntl pkgutil toaiff
_sre filecmp platform token
_ssl fileinput plistlib tokenize
_strptime flask popen2 trace
_struct fnmatch poplib traceback
_symtable formatter posix tty
_sysconfigdata fpformat posixfile type
_testcapi fractions posixpath types
_threading_local ftplib pprint unicodedata
_warnings functools profile unittest
_weakref future_builtins pstats urllib
_weakrefset gc pty urllib2
_yaml genericpath ptyprocess urllib3
abc getopt pwd urlparse
aifc getpass py_compile usb
antigravity gettext pyasn1 user
anydbm glob pyclbr uu
argh grp pydal uuid
argparse gunicorn pydoc warnings
array gzip pyexpat wave
ast hashlib pysnmp weakref
asynchat heapq pysnmp_apps webbrowser
asyncore hmac pysnmp_mibs werkzeug
atexit hotshot pytablereader whichdb
audiodev htmlentitydefs pytz wsgiref
audioop htmllib quopri xdrlib
babel httplib random xlrd
backports_abc httplib2 re xml
base64 humanize readline xmllib
bdb ihooks repr xmlrpclib
binascii imaplib requests xxsubtype
binhex imghdr resource yaml
bisect imp rexec zipfile
bitstring importlib rfc822 zipimport
bs4 imputil rlcompleter zlib
bsddb incremental robotparser
Enter any module name to get more help. Or, type "modules spam" to search
for modules whose descriptions contain the word "spam".
>>>
Python在Windwos下查看列出所有安装的包和模块
pip 只是 列出 通过 pip 安装的包