<div dir="ltr">Hi Philippe,<div style>what means &quot;it is not good&quot; exactly? That it doesn&#39;t work?</div><div style>My main question would be what you expect from the &quot;compilation&quot; to .pyo.</div><div style>
It&#39;s not a compilation to machine code as e.g. with C languages but rather a mere translation to bytecode. It doesn&#39;t bring any speedups for execution, just a tiny bit (negligible i would say) when loading the script.</div>
<div style>all the best, Thomas</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014/1/6 Philippe Boisnard <span dir="ltr">&lt;<a href="mailto:philemon1@mac.com" target="_blank">philemon1@mac.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, and HNY<br>
<br>
I search to compile a python script (.py =&gt; .pyo)<br>
but the result is not good<br>
<br>
In fact I use :<br>
python -O -m compileall basedonne.py<br>
result : basedonne.pyo, but it&#39;s not good for pyext<br>
<br>
I have tested with simple.py for example, but it&#39;s the same result, my simple.pyo is not good<br>
<br>
<br>
I don&#39;t know where is my problem ?<br>
it&#39;s not pyext, because I have a good python script<br>
I think that it&#39;s my compilation<br>
<br>
<br>
best regards<br>
<br>
p<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Thomas Grill<br><a href="http://grrrr.org">http://grrrr.org</a>
</div>