<font color="#000066"><font><font face="tahoma,sans-serif">Thanks for your help and sorry about the list messy</font></font></font><div><font color="#000066"><font><font face="tahoma,sans-serif"><br></font></font></font></div>
<div><font color="#000066"><font><font face="tahoma,sans-serif">sds,</font></font></font></div><div><font color="#000066"><font><font face="tahoma,sans-serif"><br clear="all"></font></font></font><div><b style="font-size:11px;font-family:verdana"><font color="#000066">Ronaldo Maia de Jesus Palmeira</font></b></div>
<div><font color="#000066"><b><span style="font-family:tahoma;font-size:7.5pt;font-weight:normal">Doutorando em Engenharia Oceâ</span><span style="font-family:tahoma;font-size:7.5pt;font-weight:normal">nica </span></b><br>
<b><span lang="ES" style="font-family:tahoma;font-size:7.5pt;font-weight:normal">Grupo de Processos Oceânicos - GruPO</span></b></font></div><div><font color="#000066"><b><b><span lang="ES" style="font-family:tahoma;font-size:7.5pt"><a href="/user/SendEmail.jtp?type=node&node=4991298&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a></span></b></b><b><b><span lang="ES" style="font-family:tahoma;font-size:7.5pt">  |  <a href="/user/SendEmail.jtp?type=node&node=4991298&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a></span></b><b><br>
<u></u><u></u><b><span lang="EN-US" style="font-family:tahoma;font-size:7.5pt">UFRJ | Universidade Federal do Rio de Janeiro</span></b></b></b></font></div><div><b><b><b><span lang="EN-US" style="font-family:tahoma;font-size:7.5pt"><font color="#000066"><br>
</font></span></b></b></b></div><div><b style="font-size:x-small"><font color="#000066">&quot;A percepção do desconhecido é a mais fascinante das experiências. O homem que não tem os olhos abertos para o misterioso passará pela vida sem ver nada.&quot;</font></b></div>
<div><div><font size="1" color="#000066"><b>Albert Einstein</b></font></div></div><br>
<br><br><div class="gmail_quote">On Sat, Oct 6, 2012 at 3:37 PM, Thomas Kluyver-2 [via Python] <span dir="ltr">&lt;<a href="/user/SendEmail.jtp?type=node&node=4991298&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;</span> wrote:<br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

        Hi Ronaldo,
<br><br>This list is actually about IPython, an interactive Python shell. It
<br>sounds like your question is about using Python in general. In future,
<br>the programming Q&amp;A site Stackoverflow is a good place for this kind
<br>of question: <a href="http://stackoverflow.com/questions/tagged/python" rel="nofollow" link="external" target="_blank">http://stackoverflow.com/questions/tagged/python</a><div class="im"><br><br>On 6 October 2012 04:33, palmeira &lt;<a href="http://user/SendEmail.jtp?type=node&amp;node=4991292&amp;i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>&gt; wrote:
<br>&gt; test=struct.pack_into(bloco,fb.write()[0*4:251*4])  # ERROR in this WRITE
<br><br></div>This is your problem, though. It should look more like:
<br>struct.pack_into(bloco, fb, 0, my_array)
<br><br>The docs are here: <a href="http://docs.python.org/library/struct.html#struct.pack_into" rel="nofollow" link="external" target="_blank">http://docs.python.org/library/struct.html#struct.pack_into</a><br><br>Best wishes,
<br>Thomas
<br>_______________________________________________
<br>IPython-User mailing list
<br><a href="http://user/SendEmail.jtp?type=node&amp;node=4991292&amp;i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://mail.scipy.org/mailman/listinfo/ipython-user" rel="nofollow" link="external" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>

        
        
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div class="im">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a href="http://python.6.n6.nabble.com/write-binary-with-struct-pack-into-tp4991236p4991292.html" target="_blank" rel="nofollow" link="external">http://python.6.n6.nabble.com/write-binary-with-struct-pack-into-tp4991236p4991292.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em"><div class="im">
                To start a new topic under IPython - User, email <a href="/user/SendEmail.jtp?type=node&node=4991298&i=3" target="_top" rel="nofollow" link="external">[hidden email]</a> <br></div>
                To unsubscribe from write binary with struct.pack_into, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>

                <a href="http://python.6.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></blockquote></div><br></div>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://python.6.n6.nabble.com/write-binary-with-struct-pack-into-tp4991236p4991298.html">Re: write binary with struct.pack_into</a><br/>
Sent from the <a href="http://python.6.n6.nabble.com/IPython-User-f1657224.html">IPython - User mailing list archive</a> at Nabble.com.<br/>