[Python] Salvare bytecode

Carlo Miron miron a python.it
Gio 8 Set 2016 17:34:45 CEST


2016-09-08 17:25 GMT+02:00 Emanuele Urselli <urselliemanuele a icloud.com>:

> Eh, è ciò che anche io ho letto sul libro.
> Solo che se passo il modulo mi dà un output il risultato dello script senza generare bytecode.
> Se invece passo il file (con suffisso .py quindi) mi genera il file .pyc.
>
> Python 3.5.2 su Ubunt 16.04

Che comando dai, esattamente?
Che output ottieni?
E che modulo utilizzi, e dove si trova?

㎝

-- 
|:**THE BEER-WARE LICENSE** *(Revision 42)*:
| <miron a python.it> wrote this mail. As long as you retain
| this notice you can do whatever you want with this stuff.
| If we meet some day, and you think this stuff is worth it,
| you can buy me a beer in return.
|                                            --Carlo Miron :


Maggiori informazioni sulla lista Python