Message76967
Yes, it was
import string
string.join(lis, '')
I am still a bit confused though.
Why doesn't my code of str.join(lis, '') work?
I don't think str is a reserved word.
I suppose that python might be able to deduce that str is of type
string, based on join being called on it.
Is the problem that python thinks my str is of type list? |
|
Date |
User |
Action |
Args |
2008-12-05 02:00:21 | lopgok | set | recipients:
+ lopgok, amaury.forgeotdarc, LambertDW |
2008-12-05 02:00:21 | lopgok | set | messageid: <1228442421.07.0.777953717349.issue4534@psf.upfronthosting.co.za> |
2008-12-05 02:00:20 | lopgok | link | issue4534 messages |
2008-12-05 02:00:19 | lopgok | create | |
|