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 Inviato da iPhone > Il giorno 08 set 2016, alle ore 17:23, Carlo Miron <[email protected]> ha > scritto: > > 2016-09-08 17:21 GMT+02:00 Emanuele Urselli <[email protected]>: > >> La 3.4 su Ubuntu > > Stai sbagliando qualcosa. Lo switch -m richiede il nome di un modulo, > non un file. > > ㎝ > > -- > |:**THE BEER-WARE LICENSE** *(Revision 42)*: > | <[email protected]> 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 : > _______________________________________________ > Python mailing list > [email protected] > http://lists.python.it/mailman/listinfo/python _______________________________________________ Python mailing list [email protected] http://lists.python.it/mailman/listinfo/python
