Mark <[EMAIL PROTECTED]> wrote:
   ...
> so I could just do a "python_compile_and_run myscript.py" and it would
> do what I want, i.e. run myscript.pyc if available and valid, generate
> and run it if necessary.

You can use

python -c 'import myscript; myscript.main()'

and variations thereon.


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

Reply via email to