[Python-Dev] trace.py and the obscurity of Tools/scripts/ (was: Unittest list)
Fred L. Drake, Jr.
fdrake@acm.org
Thu, 11 Apr 2002 13:52:55 -0400
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