Differences between revisions 4 and 5
Revision 4 as of 2005-05-23 09:43:01
Size: 507
Editor: squid
Comment: fixed "smiley" error
Revision 5 as of 2005-05-23 09:45:16
Size: 592
Editor: squid
Comment: added Code
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:

= Code =

{{{from compileall import compile_dir; compile_dir("C:/Python24/")}}}

ComPYiler

This is a program that compiles every .py file in the Python directory. Please note that it only works if you set Python's directory to C:\Python24. If you are using an older version or customized your directory choice. I am not sure what opperating systems it will work on, but I know it will work on win32.

This program is part of the ["Powerful Python One-Liners"] group. I hope to help expand the ["Code"] page. Thank you for visiting this page and HAVE A GREAT DAY! :-)

Code

from compileall import compile_dir; compile_dir("C:/Python24/")

JAM/Code/ComPYiler (last edited 2008-11-15 14:00:53 by localhost)

Unable to edit the page? See the FrontPage for instructions.