A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-April/023092.html below:

[Python-Dev] trace.py and the obscurity of Tools/scripts/ (was: Unittest list)

[Python-Dev] trace.py and the obscurity of Tools/scripts/ (was: Unittest list) [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




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4