Article View: pl.comp.lang.python
Article #27606Re: rekursywne listowanie katalogu
From: Daniel Mróz
Date: Mon, 26 Jul 2010 09:57
Date: Mon, 26 Jul 2010 09:57
16 lines
1455 bytes
1455 bytes
On 25.07.2010, Michal <natural-born-killer@donotmail.me> wrote: > Czy w pythonie jest jakas funkcja, ktora wylistuje mi katalog rekursywnie? > Wiem o funkcji os.walk ale poszukuej czegos zblizonego do os.listdir. Ta ostatnia > niestety nie listuje katalogow rekursywnie. Napisz sobie rekursywną funkcję opartą na os.listdir(). Banalnie proste przecież to jest. Pozdrawiam Beorn -- Daniel 'Beorn' Mróz <beorn@alpha.pl> http://127.0.0.1/beorn [GIT d s:- a-@ C++++ UL++++$ P+ L++++ E--- W+ N+++ o? K- w---] [O- M- V! PS+ PE++ Y+ PGP++ t- 5 X R !tv b+ DI D++ G++ e h*] [ r++ y+ ]
Technical Details
Message-ID:
<slrni4qn01.j6o.beorn@pino.cyberdeck.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.atman.pl!not-for-mailReferences:
<20100726010149.92ae9f6d.natural-born-killer@donotmail.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.atman.pl!not-for-mail From: Daniel Mróz <beorn@alpha.pl> Newsgroups: pl.comp.lang.python Subject: Re: rekursywne listowanie katalogu Date: Mon, 26 Jul 2010 09:57:21 +0000 (UTC) Organization: A tak se walimy młotkami d:-/ Lines: 16 Message-ID: <slrni4qn01.j6o.beorn@pino.cyberdeck.pl> References: <20100726010149.92ae9f6d.natural-born-killer@donotmail.me> NNTP-Posting-Host: fw2.itvp.pl Mime-Version: 1.0 X-Trace: node1.news.atman.pl 1280138241 10873 217.17.39.4 (26 Jul 2010 09:57:21 GMT) X-Complaints-To: usenet@atman.pl NNTP-Posting-Date: Mon, 26 Jul 2010 09:57:21 +0000 (UTC) User-Agent: slrn/0.9.8.1pl2.1 (Linux) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit