Newbie createing .PYC for import
rich_somerfield at tertio.com
Fri Mar 2 16:27:22 CET 2001
try (in shell / dos prompt) :
python compile.py <filename>
python compile.py *
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
> out how to generate a .PYC file for a module that I've defined.
> 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
More information about the Python-list