
April 11, 2002
1:52 p.m.
Barry A. Warsaw writes:
Probably so. I wonder if it makes sense to put them in a package (e.g. a `scripts' package)?
Not sure about the package, but I like having the bulk of each script be in some importable module. Giving it a main() that takes an argv, using sys.argv if None is passed, and returning the return code for the shell is very attractive. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Zope Corporation