Message76967
| Author |
lopgok |
| Recipients |
LambertDW, amaury.forgeotdarc, lopgok |
| Date |
2008年12月05日.02:00:19 |
| SpamBayes Score |
1.6526408e-05 |
| Marked as misclassified |
No |
| Message-id |
<1228442421.07.0.777953717349.issue4534@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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? |
|
History
|
|---|
| 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 |
|