摘要: for i in range(100,-1,-1): print "%s\n"%i;importospath ='D:\\Test'forroot, dirs, files inos.walk(path):print("Root = ", root, "dirs = ", dirs, "fil... 阅读全文
posted @ 2015-02-25 17:51 小毛驴 阅读(211) 评论(0) 推荐(0) 编辑
摘要: import osa = os.walk('.') for i in a: print(i) 阅读全文
posted @ 2015-02-25 17:22 小毛驴 阅读(116) 评论(0) 推荐(0) 编辑
摘要: TimeZone.CurrentTimeZone.ToLocalTime /// /// 时间戳转为C#格式时间 /// /// Unix时间戳格式 /// C#格式时间 public static DateTime ... 阅读全文
posted @ 2015-02-25 08:56 小毛驴 阅读(350) 评论(0) 推荐(0) 编辑