
Python
rufeng18
这个作者很懒,什么都没留下…
展开
-
c++调用python的入门例子
#mytest.pyyou = world!print aaaaaaaadef hello(): print hello,worldhello() c++调用#include int main(){ Py_Initialize(); PyObject *pModule = NULL; PyObject *pFun原创 2009-03-19 18:09:00 · 1125 阅读 · 0 评论 -
给.h .cpp文件批量在文件末尾加换行
import os import re import time PATH=["game","common","protocol"] def Convert(foldpath): for root, dirs, files in os.walk(foldpath): for f in files: filename = root原创 2014-04-27 11:42:42 · 1402 阅读 · 0 评论