bdb112 wrote:

I saw this interest syntax on this site
x[:0]=0

I guess that is cute, but could be confusing....(and doesn't work)

It does if you use an array of the appropriate
type on the right hand side:

  a[:0] = array('i', [0])

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

Reply via email to