资源简介
Boost.Python文档中文翻译。译者:金庆,2008.6.16。请关注:Boost文档翻译项目 ( http://groups.google.com/group/boost_doc_translation?hl=zh-CN )欢迎访问:金庆的专栏 ( http://blog.csdn.net/jq0123 )

代码片段和文件信息
// Copyright Ralf W. Grosse-Kunstleve 2002-2004. Distributed under the Boost
// Software License Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include
#include
#include
namespace { // Avoid cluttering the global namespace.
// A couple of simple C++ functions that we want to expose to Python.
std::string greet() { return “hello world“; }
int square(int number) { return number * number; }
}
namespace python = boost::python;
// Python requires an exported function called init in every
// extension module. This is where we build the module contents.
BOOST_PYTHON_MODULE(getting_started1)
{
// Add regular functions to the module.
python::def(“greet“ greet);
python::def(“square“ square);
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2008-06-16 09:04 Boost.Python中文文档\
目录 0 2008-06-16 09:03 Boost.Python中文文档\boost_1_35_0\
文件 1033 2008-05-23 09:07 Boost.Python中文文档\boost_1_35_0\boost.css
文件 6308 2008-05-23 09:07 Boost.Python中文文档\boost_1_35_0\boost.png
目录 0 2008-06-16 09:03 Boost.Python中文文档\boost_1_35_0\doc\
目录 0 2008-06-16 09:03 Boost.Python中文文档\boost_1_35_0\doc\html\
目录 0 2008-06-16 09:03 Boost.Python中文文档\boost_1_35_0\doc\html\images\
文件 374 2008-05-26 13:24 Boost.Python中文文档\boost_1_35_0\doc\html\images\blank.png
文件 1250 2008-05-26 13:24 Boost.Python中文文档\boost_1_35_0\doc\html\images\caution.png
文件 17454 2008-05-26 13:24 Boost.Python中文文档\boost_1_35_0\doc\html\images\draft.png
文件 358 2008-05-26 13:24 Boost.Python中文文档\boost_1_35_0\doc\html\images\home.png
文件 722 2008-05-26 13:24 Boost.Python中文文档\boost_1_35_0\doc\html\images\important.png
文件 336 2008-05-26 13:24 Boost.Python中文文档\boost_1_35_0\doc\html\images\next.png
文件 1110 2008-05-26 13:24 Boost.Python中文文档\boost_1_35_0\doc\html\images\next_disabled.png
文件 490 2008-05-26 13:24 Boost.Python中文文档\boost_1_35_0\doc\html\images\note.png
文件 334 2008-05-26 13:24 Boost.Python中文文档\boost_1_35_0\doc\html\images\prev.png
文件 1109 2008-05-26 13:24 Boost.Python中文文档\boost_1_35_0\doc\html\images\prev_disabled.png
文件 449 2008-05-26 13:24 Boost.Python中文文档\boost_1_35_0\doc\html\images\tip.png
文件 318 2008-05-26 13:24 Boost.Python中文文档\boost_1_35_0\doc\html\images\toc-blank.png
文件 259 2008-05-26 13:24 Boost.Python中文文档\boost_1_35_0\doc\html\images\toc-minus.png
文件 264 2008-05-26 13:24 Boost.Python中文文档\boost_1_35_0\doc\html\images\toc-plus.png
文件 370 2008-05-26 13:24 Boost.Python中文文档\boost_1_35_0\doc\html\images\up.png
文件 1115 2008-05-26 13:24 Boost.Python中文文档\boost_1_35_0\doc\html\images\up_disabled.png
文件 1241 2008-05-26 13:24 Boost.Python中文文档\boost_1_35_0\doc\html\images\warning.png
文件 795 2008-05-23 09:07 Boost.Python中文文档\boost_1_35_0\index.htm
文件 5559 2008-05-23 09:07 Boost.Python中文文档\boost_1_35_0\index.html
目录 0 2008-06-16 09:03 Boost.Python中文文档\boost_1_35_0\libs\
文件 478 2008-05-23 09:07 Boost.Python中文文档\boost_1_35_0\libs\index.html
文件 40444 2008-05-23 09:07 Boost.Python中文文档\boost_1_35_0\libs\libraries.htm
目录 0 2008-06-16 09:03 Boost.Python中文文档\boost_1_35_0\libs\python\
目录 0 2008-06-16 09:03 Boost.Python中文文档\boost_1_35_0\libs\python\build\
............此处省略492个文件信息
相关资源
- Python-BDD100K大规模多样化驾驶视频数据
- 中文分词工具评测
- Instant Pygame for Python Game Development How
- Biopython Tutorial
- Think Python 2nd
- 一个小小的表白程序(python)
- Python课堂笔记(高淇400集第一季)
- 二级考试python试题12套(包括选择题和
- pywin32_python3.6_64位
- python+ selenium教程
- PycURL(Windows7/Win32)Python2.7安装包 P
- 英文原版-Scientific Computing with Python
- 7.图像风格迁移 基于深度学习 pyt
- 基于Python的学生管理系统
- A Byte of Python(简明Python教程)(第
- Python实例174946
- Python 人脸识别
- Python 人事管理系统
- 基于python-flask的个人博客系统
- 计算机视觉应用开发流程
- python 调用sftp断点续传文件
- python socket游戏
- 基于Python爬虫爬取天气预报信息
- python函数编程和讲解
- Python开发的个人博客
- 基于python的三层神经网络模型搭建
- python实现自动操作windows应用
- python人脸识别(opencv)
- python 绘图(方形、线条、圆形)
- python疫情卡UN管控
评论
共有 条评论