On Sat, Nov 20, 2010 at 5:28 AM, Vasudevan N <vasudevan...@gmail.com> wrote:
> The simplest way would be to use recursive calls. > Vasu, a. That could still entail a loop on a files per directory basis b. If you avoid the loop and recurse on a per file (eg by shaving the head off the sequence and passing on the tail), there's no tail call optimization to avoid a stack overflow. Dhananjay > > Thanks, > Vasu > > On Wed, Nov 17, 2010 at 8:05 PM, Nitin Kumar <nitin.n...@gmail.com> wrote: > > > hi all, > > > > is there any simple way where a can parse into directory and > subdirectories > > to get the detail of files and count. > > > > or do i need to use looping and other functionalities. > > > > -- > > Nitin K > > _______________________________________________ > > BangPypers mailing list > > BangPypers@python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers@python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- -------------------------------------------------------- blog: http://blog.dhananjaynene.com twitter: http://twitter.com/dnene _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers