Idiom for running compiled python scripts?

Gerard Flanagan grflanagan at yahoo.co.uk
Fri Mar 23 04:41:05 EDT 2007


On Mar 23, 8:30 am, Mark <markb... at mailinator.com> wrote:
>
> Of course I am not deleting the sources. In fact, I am also talking
> about python scripts being called from shell scripts.

There's a nice recipe in Python Cookbook (Martelli et al.) for this.
It involves zipping your .pyc files and adding a shell stub. Never
used it before but I'm going to need something similar in the near
future, probably with a text templating system such as Cheetah
(www.cheetahtemplate.org).

HTH

Gerard






More information about the Python-list mailing list