homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients ncoghlan
Date 2011年11月09日.07:22:37
SpamBayes Score 0.0008847341
Marked as misclassified No
Message-id <1320823358.89.0.0610537790817.issue13375@psf.upfronthosting.co.za>
In-reply-to
Content
The 3-tuple values yielded by os.walk could be made easier to work with in some use cases by offering a namedtuple style interface (similar to what is done with sys.float_info).
for dirinfo in os.walk(base_dir):
 print(dirinfo.path)
 print(dirinfo.subdirs)
 print(dirinfo.files)
History
Date User Action Args
2011年11月09日 07:22:39ncoghlansetrecipients: + ncoghlan
2011年11月09日 07:22:38ncoghlansetmessageid: <1320823358.89.0.0610537790817.issue13375@psf.upfronthosting.co.za>
2011年11月09日 07:22:38ncoghlanlinkissue13375 messages
2011年11月09日 07:22:37ncoghlancreate

AltStyle によって変換されたページ (->オリジナル) /