小程序
J.Tabibito
这个作者很懒,什么都没留下…
展开
-
小程序 [时钟]
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <conio.h> struct dateAndTime { unsigned int year; unsigned int month; unsigned int date; u...原创 2018-02-14 15:43:36 · 1380 阅读 · 0 评论 -
小程序 [链表]
#include <stdio.h> #include <stdlib.h> #include <string.h> #define free_node free #define __INIT_HEAD__(h) (h = NULL) #define __CAL_BUFFER_NODE__(ptr, type, member) ((type*)(((unsi...原创 2018-02-14 15:45:08 · 273 阅读 · 0 评论 -
Python3 os模块
1.使用os.walk遍历文件目录 import os sPath = "G:\\test" # os.walk遍历 s = tuple(os.walk(sPath, True, None, False)) print(s) 2.使用深度遍历方式遍历文件目录 # 深度遍历 def DFS(absPath) : if (os.path.isabs(absPath)) : ...原创 2018-11-02 18:41:13 · 136 阅读 · 0 评论