资源简介
Thinking in c++ 上下册, 全英文,这本书确实是Thinking In C++的英文原版,大概是从其作者的主页上(给的链接)下载的免费的电子书(作者还是很具有开源精神的)。书很好,文字版的pdf,虽说是英文的...
代码片段和文件信息
“““Cheap and simple API helper
This program is part of “Dive Into Python“ a free Python book for
experienced programmers. Visit http://diveintopython.org/ for the
latest version.
“““
__author__ = “Mark Pilgrim (mark@diveintopython.org)“
__version__ = “$Revision: 1.3 $“
__date__ = “$Date: 2004/05/05 21:57:19 $“
__copyright__ = “Copyright (c) 2001 Mark Pilgrim“
__license__ = “Python“
# While this is a good example script to teach about introspection
# in real life it has been superceded by PyDoc which is part of the
# standard library in Python 2.1 and later.
#
# Your IDE may already import the “help“ function from pydoc
# automatically on startup; if not do this:
#
# >>> from pydoc import help
#
# The help function in this module takes the object itself to get
# help on but PyDoc can also take a string like this:
#
# >>> help(“string“) # gets help on the string module
# >>> help(“apihelper.help“) # gets help on the function below
# >>> help() # enters an interactive help mode
#
# PyDoc can also act as an HTTP server to dynamically produce
# HTML-formatted documentation of any module in your path.
# That‘s wicked cool. Read more about PyDoc here:
# http://www.onlamp.com/pub/a/python/2001/04/18/pydoc.html
def info(object spacing=10 collapse=1):
“““Print methods and doc strings.
Takes module class list dictionary or string.“““
methodList = [e for e in dir(object) if callable(getattr(object e))]
processFunc = collapse and (lambda s: “ “.join(s.split())) or (lambda s: s)
print “\n“.join([“%s %s“ %
(method.ljust(spacing)
processFunc(str(getattr(object method).__doc__)))
for method in methodList])
if __name__ == “__main__“:
print help.__doc__
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2011-04-26 22:16 codes-from-books-master\
文件 9 2011-04-26 22:16 codes-from-books-master\.gitignore
目录 0 2011-04-26 22:16 codes-from-books-master\dive-into-python\
文件 107 2011-04-26 22:16 codes-from-books-master\dive-into-python\README
目录 0 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\
文件 1718 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\apihelper.py
文件 1891 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\apihelpertest.py
文件 437 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\argecho.py
文件 2861 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\autosize.py
文件 3750 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\ba
文件 1090 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\builddialectexamples.py
文件 4864 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\colorize.py
文件 4449 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\dialect.py
文件 532 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\fibonacci.py
文件 3241 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\fileinfo.py
文件 2776 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\fileinfo_fromdict.py
文件 163 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\fullpath.py
目录 0 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\kgp\
文件 1303 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\kgptest.py
文件 341 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\kgp\binary.xm
文件 10438 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\kgp\husserl.xm
文件 14340 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\kgp\kant.xm
文件 264 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\kgp\kgp.dtd
文件 8744 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\kgp\kgp.py
文件 88 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\kgp\russiansample.xm
文件 107 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\kgp\stderr.py
文件 189 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\kgp\stdout.py
文件 22 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\kgp\template.xm
文件 460 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\kgp\test.xm
文件 16650 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\kgp\thanks.xm
文件 1800 2011-04-26 22:16 codes-from-books-master\dive-into-python\src\kgp\toolbox.py
............此处省略2831个文件信息
- 上一篇:Essential c++ 高清pdf+随书源码
- 下一篇:入侵检测系统源码VC++
相关资源
- 入侵检测系统源码VC++
- Essential c++ 高清pdf+随书源码
- C++编写dll和使用dll(最简单的vs2010)
- 跌倒检测-OPENCV-VC++
- Essential C++中文版(全)
- c++版神经网络实现
- C++编程有限元公式
- 《深入学习c++string》2.1版
- 银行家算法C++实现穷举所有安全序列
- C++课程设计-图书信息管理系统含源码
- C++使用Openssl进行RSA加密解密及签名验
- 三维五角星
- C++蚁群算法求解TSP问题
- C语言编的数据库管理系统DBMS
- C++ Template 完全导引简体中文版
- 中国象棋对弈(MFC单机版)
- IP包流量分析程序.rar含程序+源码WIN
- 谭浩强c++第二章例题源码
- C++远控源码demo
- Seamless R and C++ Integration with Rcpp
- 用vc++6.0mfc对话框做的钟表
- C++绘制地图
- 工业组态软件VC++简单实现
- 基于opencv C++实现毛衣衣服的瑕疵检测
- apriori 算法 c++ 实现 文件读入
- 时间片轮转法RRC++实现
- Visual Studio 2012制作MFC计算器-TC王者
- C++用Opencv将图片转化为灰度图并保存
- VC6.0 C++ MD5验证源码文件和字符串验证
- 数据结构与算法分析C++描述Larrynyhof
评论
共有 条评论