On 21 August 2015 at 02:57, Alan Gauld wrote:
> On 20/08/15 09:51, Srihari Vijayaraghavan wrote:
>
>> In general I agree, but this is what the os.walk() document states:
>> "... When topdown is True, the caller can modify the dirnames list
>> in-place (perhaps
On 20 August 2015 at 18:51, Srihari Vijayaraghavan
wrote:
> On 20 August 2015 at 18:25, Alan Gauld wrote:
>> On 20/08/15 04:03, Srihari Vijayaraghavan wrote:
>>
>>> out = sys.stdout.write
>>> for root, dirs, files in os.walk("/"):
>>> out(
On 20 August 2015 at 18:25, Alan Gauld wrote:
> On 20/08/15 04:03, Srihari Vijayaraghavan wrote:
>
>> out = sys.stdout.write
>> for root, dirs, files in os.walk("/"):
>> out("The dirs before removing mount points: %s\n" % dirs)
>> for
#x27;bin', 'lib', 'opt', 'lost+found', 'etc', 'sbin', 'var',
'sys', 'media', 'backup', 'home', 'usr', 'tmp', 'proc', 'mnt', 'boot',
'lib64