Skip to content

Instantly share code, notes, and snippets.

@sytkov
Created May 23, 2012 17:01
Show Gist options
  • Save sytkov/2776381 to your computer and use it in GitHub Desktop.
Save sytkov/2776381 to your computer and use it in GitHub Desktop.
Рекурсивный обход директорий
# coding=utf-8
import os
for name in os.listdir ( '.' ) :
if '.' not in name :
for dir , subDirs , files in os.walk ( name ) :
for file in files :
print file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment