Re: Python ver of System.arraycopy() in Java

2008-07-14 Thread Miki
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 >

Python ver of System.arraycopy() in Java

2008-07-14 Thread Jordan
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