Recursion.
if os.path.isdir(d): describeDirectory(d)
Since your printing from the function itself, you may want to add a
level or depth arguement with a default value of 0.
def describeDirectory(directory, level=0):
Then call the function recursively with describeDirectory(d,level+1)
Use the
Hi list,
I like the idea of portable apps. Load a USB drive and you're ready to go.
I am switching from PHP to Python and I'm curious if anyone has tried
using USB sticks for either development or distribution?
I was looking at purchasing Movable Python for a USB stick. I was then
going to l
ime.
Three additional software packages that help are...
PStart - Shortcuts for USB
Allway Sync - PC to USB sync.
Disc Image XML - take a distribution image and writes a USB stick in
under 2 minutes.
Regards,
-Steve
Michael Sparks wrote:
> On Monday 27 March 2006 22:21, Steve Slevinski wrot