Newbie createing .PYC for import

Rich Somerfield rich_somerfield at tertio.com
Fri Mar 2 16:27:22 CET 2001


try (in shell / dos prompt) :
python compile.py <filename>

e.g.
python compile.py *

Regards
Rich


in the relavent dir with the relavent wildcard / filename
Larry Bates <lbates at syscon-computers.com> wrote in message
news:3a9e83fa$1 at news1.dbtech.net...
> I have spent the last couple of hours (unsuccessfully) attempting to
figure
> out how to generate a .PYC file for a module that I've defined.
Everything
> appears to imply that it's "automatic", but I'm not getting anywhere.  I
> have a module and I wish to generate a .PYC file so that I can import it
> into future projects.  Can anyone shed any light on how to accomplish
this?
>
> -Larry
>
>





More information about the Python-list mailing list