python -c "import os; print len(os.listdir('.'))"
Monday, September 5, 2011
getting the number of files in a directory using python
Subscribe to:
Posts (Atom)
collection of code snippets that might be helpful
python -c "import os; print len(os.listdir('.'))"