On Mon, 17 Sep 2007 01:23:20 +0000, Summercool wrote: > On Sep 16, 10:36 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: >> >> The `*.pyc` files are usually only created when you import a module, not >> when a module is run directly. > > how come a program that runs directly doesn't need to be optimized > into bytecode first?
Programs need to be compiled to bytecode and they actually are. The bytecode is just not dumped into a file but compiled at every run. Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list