Timeline for os.walk without digging into directories below
Current License: CC BY-SA 4.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 20, 2023 at 23:35 | comment | added | Tomsim | same here. It's simple and imho straight forward. I'm just wondering if this behavior is in the function specification. | |
| Apr 25, 2023 at 7:57 | history | edited | Pieter | CC BY-SA 4.0 |
fix tulips to tuples :)
|
| Jul 15, 2021 at 18:52 | comment | added | Steven Marsh | I just want to add this comment and say thank you for saving me time at work for giving such a good simplistic answer. | |
| Jul 21, 2017 at 1:48 | history | edited | Pieter | CC BY-SA 3.0 |
make it clear there is a second loop over the files.
|
| Oct 31, 2016 at 19:41 | comment | added | Alecz | This should have been the accepted answer. Simply adding a "break" after the "for f in files" loop stops the recursiveness. You might also want to make sure that topdown=True. | |
| S Jan 1, 2014 at 12:59 | review | Late answers | |||
| Jan 1, 2014 at 12:59 | |||||
| S Jan 1, 2014 at 12:59 | review | First posts | |||
| Jan 1, 2014 at 13:01 | |||||
| Jan 1, 2014 at 12:51 | history | edited | Pieter | CC BY-SA 3.0 |
I tried just to assign the values without the for loop, but it then tries to assign all the data at once.
|
| Jan 1, 2014 at 12:44 | history | answered | Pieter | CC BY-SA 3.0 |