[Tutor] perldoc - confused!

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Fri Oct 21 23:00:06 CEST 2005


> I spent ages today trying to list all items in a directory, simple I now
> know (os.listdir) but I was trying to use os.walk simply because I had
> no idea that listdir existed.  I only found listdir because I was
> reading about walk!!!!

You should have a 'pydoc' utility.  It's also possible to get help from
the interactive prompt by doing 'help()'.

Good luck!



More information about the Tutor mailing list