[SciPy-user] Behavior of string.join differs from standard python

Yann Le Du yann.ledu at noos.fr
Tue Jan 24 11:19:35 CST 2006


Just a small problem I stumbled upon.

I'd like to know why the behavior of string.join in scipy is different 
from that of standard python ?

In scipy :

# string.join("",["a","b","c"])

and in python string module :

# string.join(["a","vb",",cf"],"")

And also, the documentation of string.join is not clear, because if you do 
what's written there, there's an error.

Yann Le Du

More information about the SciPy-user mailing list