[Pythonmac-SIG] Tree-like execution of scripts

Joseph J. Strout joe@strout.net
Mon, 21 Jun 1999 08:16:22 -0700


At 11:13 PM -0700 06/18/99, Andres Corrada wrote:

>	I want to build a web site's pages by implementing a series of
>Python scripts
>that reside in a directory tree structure that mimics the web site
>architecture. My UNIX mind understands how to do this by having shell scripts
>that call sub-scripts, etc. How can I do this on the Mac? I thought that using
>the execfile function would be the way to go, but the footnote on the manual
>that this is rarely used makes me think there is a better way. What would be
>the Mac way of doing this task?

Why do you need a bunch of different scripts?  Why not just one program,
with functions that call themselves recursively as needed?

I have a little skeleton program for processing a folder hierarchy on the
Mac if you're interested.

Cheers,
-- Joe
,------------------------------------------------------------------.
|    Joseph J. Strout           Biocomputing -- The Salk Institute |
|    joe@strout.net             http://www.strout.net              |
`------------------------------------------------------------------'