[Tutor] annoying directory structure

Zachary Ware zachary.ware+pytut at gmail.com
Fri Apr 10 02:45:10 CEST 2015


On Thu, Apr 9, 2015 at 7:42 PM, Alex Kleider <akleider at sonic.net> wrote:
> On 2015-04-09 16:44, Dave Angel wrote:
>
>
>> for dirpath, dirnames, filenames = os.walk(  whatever ):
>
>
> I've always seen it written
>>>>
>>>> for dirpath, dirnames, filenames in os.walk(  whatever ):
>
>
> Comments??

Typo on Dave's part, I'm quite certain he meant to use 'in', since '='
there is a SyntaxError.

-- 
Zach


More information about the Tutor mailing list