string question. difference between string.split(str, ":") and str.split(":")

Dale Strickland-Clark dale at riverhall.NOTHANKS.co.uk
Thu Oct 25 04:57:05 EDT 2001


"Markus Jais" <mjais at web.de> wrote:

>hello
>
>what is the difference between
>
>import string
>str = "one:two:three"
>a, b, c = string.split(str, ":")
>
>and
>
>str = "one:two:three"
>a, b, c = str.split(":")
>
>
The second superseded the first.
--
Dale Strickland-Clark
Riverhall Systems Ltd



More information about the Python-list mailing list