skip to main | skip to sidebar

Code Snippets

collection of code snippets that might be helpful

Monday, September 5, 2011

getting the number of files in a directory using python

 python -c "import os; print len(os.listdir('.'))"
Posted by Jong Wook Kim at 11:06 PM No comments:
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ▼  2011 (2)
    • ▼  September (1)
      • getting the number of files in a directory using p...
    • ►  January (1)
  • ►  2010 (14)
    • ►  December (1)
    • ►  August (1)
    • ►  July (11)
    • ►  May (1)

About Me

Jong Wook Kim
Ann Arbor, MI, United States
View my complete profile

Links

  • Blog
  • Facebook
  • Twitter