"Fredrik Lundh" <[EMAIL PROTECTED]> writes:

> Jari Aalto wrote:
>
| > Please suggest comments how can I make this script to work
| > from bash.
>
> replace it with a call to the compileall module?
>
>     $ python -mcompileall [directory...]

Thanks, but that will not work. The files are gathered from discrete
places and I'd need advice why the simple -c options does
not accept the code inside parentheses.

Are there some restrictions in Python to use only "all in one line"? I
mean:

    python -c "command; command ...; command; ..."


Jari

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to