C type buffer copy

Paul Rubin http
Tue Mar 22 17:39:02 EST 2005


"joe at gmail.com" <doodle4 at gmail.com> writes:
> What's the best way to deal with this in python?

I can't tell what you're trying to do.  If you want an array
containing the numbers 0,1,...,n-1, just say 
  buf = range(n)



More information about the Python-list mailing list