@@ -0,0 +1,252 @@
+#!coding=utf-8%0A#!/usr/bin/python%0A%0Aimport os%0Aimport os.path%0A%0Aloop_dir = %22/home/ptrade/front1%22;%0A%0Afor root_dir, cur_dir, files in os.walk(loop_dir):%0A    for d in cur_dir:%0A        print %22current_dir is: %22, d;%0A    for f in files:%0A        print %22files:%22, f;%0A

Create traverse_dirs_files.py