摘要: http://blog.csdn.net/zbyufei/article/details/6096881 阅读全文
posted @ 2012-08-02 23:57 dengyigod 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 通常在Python中要进行网络编程需要import Socket模块。有了这个模块之后,你可以做所有你需要做的有关socket编程的问题。在C/C++网络编程中,我们需要引入下面几个头文件:#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>在Python网络编程中:import Socket.在Python,Lib文件夹下有Socket.py文件。里面可以看到基本没有你平常用到的那些命令,而是一些平常基本上用不到的有关 阅读全文
posted @ 2012-07-29 02:03 dengyigod 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 装了VC++与python后,在环境变量中把PYTHON的INCLUDE和LIBS分别加入下面2个宏INCLUDELIB请问加入这两个宏到环境变量中的具体步骤?----------------------------------------------------------------------不太清楚...C++可以使用Boost.Python库。boost_python.lib.http://sourceforge.net/index.php上可以找到boostwww.boost.org也可以上去看看------------------------------------------- 阅读全文
posted @ 2012-07-29 01:50 dengyigod 阅读(356) 评论(0) 推荐(0) 编辑
摘要: c++调用Python初次尝试之hellowrold环境:windows xpsp2 VC++6.0 Python2.5.2首先配置你的项目环境:(注:%Python%为你Python的安装目录)把%Python%\include 配置到你的工程项目的Project Settings——C/C++——Category——Preprocessor——Additional include directories把 %Python%libs配置到你的工程项目的Project Settings——Link ——Category——Input——Additionallibrary path此时,如果你V 阅读全文
posted @ 2012-07-29 01:49 dengyigod 阅读(213) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/pkrobbie/article/details/1503380 阅读全文
posted @ 2012-07-29 01:47 dengyigod 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 到了PyRun_SimpleFile()神秘崩溃的问题。有一篇文章很好很详尽:http://blog.csdn.net/ccat/article/details/544491还有一个比较简单的办法:http://blog.csdn.net/skyremember/article/details/2941181http://blog.csdn.net/marising/article/details/2845339 阅读全文
posted @ 2012-07-29 01:46 dengyigod 阅读(165) 评论(0) 推荐(0) 编辑
摘要: Building Python using VC++ 7.1-------------------------------------This directory is used to build Python for Win32 platforms, e.g. Windows95, 98 and NT. It requires Microsoft Visual C++ 7.1(a.k.a. Visual Studio .NET 2003).(For other Windows platforms and compilers, see ../PC/readme.txt.)All you ne. 阅读全文
posted @ 2012-07-29 01:26 dengyigod 阅读(248) 评论(0) 推荐(0) 编辑
摘要: I tried setting 'kLogFile' to a file, but nothing happens. If I look at'wingdbstub.py' in never goes in using this variable. It fails when tying toaccess 'WINGDB_ACTIVE' and it just bails.I put the following line before including the wingdbstub.py:print "has_key(os.envir 阅读全文
posted @ 2012-07-29 01:20 dengyigod 阅读(444) 评论(0) 推荐(0) 编辑
摘要: Hello,I have a python installation that I built myself using Visual Studio 2005.I need this version because I need to link Python bindings to a 3rdparty library that uses VS 2005.I want to get setuptools installed to this Python installation but theinstaller won't find my version of Python even 阅读全文
posted @ 2012-07-29 01:17 dengyigod 阅读(298) 评论(0) 推荐(0) 编辑
摘要: http://mail.python.org/pipermail/python-list/2008-June/469066.html 阅读全文
posted @ 2012-07-29 01:12 dengyigod 阅读(106) 评论(0) 推荐(0) 编辑