Re: Need a little python assistance for accounts export

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>  haven't looked at the code - but the above is a good sign you're
> iterating over a string object not a list object.
> 
> try this and you'll see:
> 
> foo='lalalalal'
> for item in foo:
>    print item
> 
> 
> do a type() on the object you're getting the output from above and I bet
> it's as string not a list.
> 
> 
> -sv
> 


Good call, that fixed it :).

Thanks,

~tom


[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux