If you are working with images or pixel data, you might want to look at the Python Imaging Library.<br><a href="http://www.pythonware.com/products/pil/">http://www.pythonware.com/products/pil/</a><br><br><br><div class="gmail_quote">
On Mon, Apr 6, 2009 at 10:59 PM, bob gailer <span dir="ltr">&lt;<a href="mailto:bgailer@gmail.com">bgailer@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



  

<div bgcolor="#ffffff" text="#000000"><div class="im">
Chris Calloway wrote:
<blockquote type="cite">On 4/6/2009
4:18 PM, Joseph Mack NA3T wrote:
  <br>
  <blockquote type="cite">well dang. I didn&#39;t see that in the methods
and functions for lists.
    <br>
  </blockquote>
  <br>
It&#39;s an operator. The subscription operator. Which applies to sequences.<br>
</blockquote>
<blockquote type="cite"><br>
On the left hand side of an assignment, it is only applicable to
mutable sequences.
  <br>
</blockquote>
<br></div>
Not only.<br>
<br>
&quot;If the target is a subscription: The primary expression in the
reference is evaluated. It should yield either a mutable sequence
object (such as a list) or a mapping object (such as a dictionary).&quot;<br>
<br>
And even though it does NOT say so, any object with a __setitem__ magic
method. &quot;Called to implement assignment to <code><var>self</var>[<var>key</var>]</code>.
&quot;<br>
<br>
[snip]<br><font color="#888888">
<br>
<div>-- <br>
Bob Gailer<br>
Chapel Hill NC<br>
919-636-4239</div>
</font></div>

<br>_______________________________________________<br>
TriZPUG mailing list<br>
<a href="mailto:TriZPUG@python.org">TriZPUG@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/trizpug" target="_blank">http://mail.python.org/mailman/listinfo/trizpug</a><br>
<a href="http://trizpug.org" target="_blank">http://trizpug.org</a> is the Triangle Zope and Python Users Group<br></blockquote></div><br>