VC6.0中Python环境配置
来源:互联网 发布:跳跃表 java实现 编辑:程序博客网 时间:2024/04/27 18:40
版本: python-2.5
安装目录: D:/Python25
头文件包含: Tools->Options->Directories->Include files 加入 D:/PYTHON25/INCLUDE
库文件包含: Tools->options->Directories->Library files 加入 D:/PYTHON25/LIBS
写一个小程序测试下:
#include "Python.h"
int main(int argc, char* argv[])
{
Py_Initialize();
PyRun_SimpleString("from time import time,ctime; print 'Today is:',ctime(time())");
Py_Finalize();
return 0;
}
编译提示 can't open file "python25_d.lib" 没有调试版本的类库
把D:/Python25/Libs/python25.lib复制一个python25_d.lib即可.
然后再编译,执行,成功.
- VC6.0中Python环境配置
- VC6.0中OpenGL开发环境配置
- VC6.0中OpenGL开发环境配置
- VC6中配置occi环境
- vc6.0中OpenGL开发环境的配置
- VC6.0开发环境配置
- VC6.0开发环境配置
- VC6.0中配置WDK
- VC6.0中OpenCV配置
- VC6.0中配置OPenGL
- VC6.0下DirectShow开发环境配置
- DirectShow编程环境配置(VC6.0)
- VC6.0下directshow环境配置
- VC6.0配置DirectShow开发环境
- VC6.0 VS2008 openGL环境配置
- VC6.0 VS2008 openGL 环境配置
- winpcap的VC6.0运行环境配置
- VC6.0配置Proc开发环境:
- 在C#里面完成行列转换
- 面向对象——基本概念
- 苹果公布了WWDC2010的视频和演讲文档
- 在C#运用程序里面控制输入法
- 通过心理学,揭开生活的面纱
- VC6.0中Python环境配置
- ++++++++++++++++++++
- 网页配色
- 步署包含报表控件的Asp.net程序时错误总结
- 坚持每天学习新知识
- 在IE里面托管Win Form
- CentOS5 下 安装Vmware-tools问题与对策
- 想要的幸福很简单
- 医生