Home

On Sep 2, 7:21 am, dmitrey <open...@ukr.net> wrote:
> howto compile recursively all *.py files to *.pyc (from a directory
> my_dir)?
> Thank you in advance, D.

import compileall
compileall.compile_dir('my/python/project/')

--
Arnaud

previous
next

Re: Try this
Re: Binary, Hex, and Decimal string conversions
Re: super() doesn't get superclass
Re: Co-developers wanted: document markup language
Re: Array of pointers. How to check index without failure?
bwin bonus
midface lift
kasyno
bono bwin
blog