Hello,

> I could seem to find a built in function that would serve the purpose
> of System.arraycopy() in java.
>
> I was able to accomplish it with something like this:
>
> def arraycopy(source, sourcepos, dest, destpos, numelem):
>     dest[destpos:destpos+numelem] = source[sourcepos:sourcepos
> +numelem]
>
> is there a built in version, or better way of doing this...
This *is* the built in way :)

HTH,
--
Miki <[EMAIL PROTECTED]>
http://pythonwise.blogspot.com


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to