in reply to Re^4: looping logic error while printing output from folder/flie content
in thread looping logic error while printing output from folder/flie content

Thanks Graff. Now I have installed pkdb module after reading the point which you said in pervious reply and I can do the debugging line by line.

On this point : "You might also need to consider what will happen when your program has to cover a different pattern of directory nesting."

Even i was thinking this, what ever i tried to script is now only for pre defined set of directory structure, which is very wrong way. Can you please advise how can make script more generic one so that don't need to depend on directory pattern

Many Thanks
  • Comment on Re^5: looping logic error while printing output from folder/flie content

Replies are listed 'Best First'.
Re^6: looping logic error while printing output from folder/flie content
by graff (Chancellor) on Dec 19, 2012 at 04:36 UTC
    The code I posted above is one way to handle variation in the directory structure. You might need to tweak it to get the kind of xml layout that you want.
    A reply falls below the community's threshold of quality. You may see it by logging in.