
python
文章平均质量分 78
wusoule
这个作者很懒,什么都没留下…
展开
-
一个python
#!/usr/bin/env python #coding=utf-8 import os # 遍历文件 r=input("type a directory name:") for root,dirs,files in os.walk(r): for f in files: f1 = r; f1 += f file原创 2013-10-15 20:53:22 · 964 阅读 · 0 评论 -
自动实现结构体打印--用python
1)上代码test.py import os import sys import re # like ./stringstream_output.py ./test SOURCE_PATH="" FUNCTION="\tfriend TSCOMMON_EXPORT stringstream& operator<<(stringstream& ss, const " OUTSTREAM="" E原创 2013-12-07 16:39:09 · 4297 阅读 · 0 评论