<div dir="ltr">Hi Philippe,<div style>what means "it is not good" exactly? That it doesn't work?</div><div style>My main question would be what you expect from the "compilation" to .pyo.</div><div style>
It's not a compilation to machine code as e.g. with C languages but rather a mere translation to bytecode. It doesn'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"><<a href="mailto:philemon1@mac.com" target="_blank">philemon1@mac.com</a>></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 => .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's not good for pyext<br>
<br>
I have tested with simple.py for example, but it's the same result, my simple.pyo is not good<br>
<br>
<br>
I don't know where is my problem ?<br>
it's not pyext, because I have a good python script<br>
I think that it'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 -> <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>