of course. but i tried only the code, not rewriting the pixelget part into that, because I have to understand it first.<br><br><br>so, i should look into ipython's doc for this code?<br><br><br>ok, <br><br>import array
<br>def f7(list):<br> return array.array('B', list).tostring()
<br>f7([97, 98, 99])<br>Out[6]:'abc'<br><br><br>searching with ipython search engine returns returns "parrel computing"<br><br>ack, <br><br>so i call the array.array function, and tostring() function,
<br><br>I have no idea how to read that. @_@ <br>what a great one liner!<br><br><br><br><br><br><div><span class="gmail_quote">On 7/1/07, <b class="gmail_sendername">
Luke Paireepinart</b> <<a href="mailto:rabidpoobear@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rabidpoobear@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
elis aeris wrote:<br>> my reply<br>> oh crancky! C# !<br>><br>> <a href="http://en.wikipedia.org/wiki/Iron_Python" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://en.wikipedia.org/wiki/Iron_Python
</a><br>><br>> i better try to find the best way to do it with the official python
<br>> genre before venturing into that world of pain without PIL !<br>Please don't reply directly to me.<br><br>Iron Python is an implementation of Python in .NET<br>similarly Jython is an implementation of Python in Java.
<br>This doesn't have anythign to do with their libraries.<br>The example code<br>> >> In [4]:import array<br>> >> In [5]:def f7(list):<br>> >> .5.: return array.array('B', list).tostring()
<br>> >> .5.:<br>> >><br>> >> In [6]:f7([97, 98, 99])<br>> >> Out[6]:'abc'<br>Would run in IronPython, Jython or cPython.<br>The way that the code is marked up (adding In or >>> before each line)
<br>is a feature of the IDE that one uses.<br>Did you even try the code?<br>-Luke<br></blockquote></div><br>