[Newbie Q on String & List Manipulation]
Matthew
matthew at coredumps.net
Fri Apr 16 01:54:24 EDT 2004
Hello all,
finally, i found a way to make to a+=b works,
but, i don't understand why it works... ;(
i changed the script from:
for item in thecookies:
mycookies += item
to:
for item in thecookies:
mycookies += repr(item)
and thing works fine.
i've also check the "type" of both the "item" &
"mycookies" and they both are "str".
i don't understand why i need to use the repr to
make it work...
sigh...
---
matthew
More information about the Python-list
mailing list