相信积累的力量

摘要: improt xxx时,python 会在一些路径中寻找:http://docs.python.org/2/tutorial/modules.htmlWhen a module namedspamis imported, the interpreter first searches for a built-in module with that name. If not found, it then searches for a file namedspam.pyin a list of directories given by the variablesys.path.sys.pathis 阅读全文
posted @ 2013-10-06 22:35 ThreeF 阅读(635) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/baizx/archive/2010/08/09/1796120.html Git 系列之二:Windows 下 Git 客户端的选择,及 msysGit 各种中文问题的解决-转载 Git 系列之二:Windows 下 Git 客户端的选择,及 msys 阅读全文
posted @ 2013-10-06 14:07 ThreeF 阅读(965) 评论(0) 推荐(0) 编辑
摘要: http://wolfprojects.altervista.org/articles/dll-in-c-for-python/his article explains how to write aDLL/SOin C/C++ for PythonNote:Cythoncan also be used to create and wrap C libraries for Python, and might be a good alternative to the approach explained in this article.Create a new file and write, fo 阅读全文
posted @ 2013-10-06 12:43 ThreeF 阅读(555) 评论(0) 推荐(0) 编辑
摘要: http://docs.python.org/2/library/ctypes.html15.17.ctypes— A foreign function library for PythonNew in version 2.5.ctypesis a foreign function library for Python. It provides C compatible data types, and allows calling functions in DLLs or shared libraries. It can be used to wrap these libraries in p 阅读全文
posted @ 2013-10-06 12:32 ThreeF 阅读(1242) 评论(0) 推荐(0) 编辑
摘要: lib文件百度百科:http://baike.baidu.com/link?url=sbdM3usXfhcklKPhOfL9Gi7GeM8sQRFdXuJIS_VhNV0uJDIVZq7hXsKI8gl-nTMP3q6lMcETpH1WeM0569aCtalib文件目 录1意义2使用2.1静态编译2.2动态编译3详细说明3.1内容3.2使用步骤4与dll区别5加载方法5.1直接加入5.2设置5.3程序代码1意义.lib是一种文件名后缀该文件为Windows操作系统中的库文件,相当于Linux中的.a或.o、.so文件lib有静态lib和动态lib之分。2使用lib文件通过编译才可以使用编译分静 阅读全文
posted @ 2013-10-06 11:02 ThreeF 阅读(522) 评论(0) 推荐(0) 编辑

相信积累的力量