Would numpy.fromstring and ndarray.tostring fit your needs?<br><br>-=- Olivier<br><br><div class="gmail_quote">2011/11/29 Alex Ter-Sarkissov <span dir="ltr">&lt;<a href="mailto:ater1980@gmail.com">ater1980@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">hi eveyone,<br><br>is there a simple command in numpy similar to matlab char(bin2dec(&#39;//some binary value//&#39;)) to convert binary to characters and back? <br>
<br>thanks<br>
<br>_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
<br></blockquote></div><br>