Per compilarlo e ottenere un modulo in byte code devi fare da shell

py_compilefiles script.py

dopo di che con

python sript.pyc

esegui il modulo


>
>  Ciao,
>
>  non capisco bene la tua domanda, cosa intendi per compilare uno script
> sotto linux? Sei un neofita di python o di linux? :-)
>



-- 
-Massimiliano Giovine
Aksel Peter Jørgensen dice: "Why make things difficult, when it is
possible to make them cryptic and totally illogic, with just a little
bit more effort?"
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a