On Mon, Sep 17, 2012 at 8:28 PM, Dennis Lee Bieber <wlfr...@ix.netcom.com> wrote: > On Mon, 17 Sep 2012 21:08:32 -0400, David Smith <dav...@invtools.com> > declaimed the following in gmane.comp.python.general: > >> >> How do I "indent" if I have something like: >> if (sR=='Cope'): sys.exit(1) elif (sR=='Perform') sys.exit(2) else >> sys.exit(3) >> > If the sole purpose of the BAT file is to set return codes, I > wouldn't bother using Python... Python is /not/ a shell language > substitute
FWIW, it kinda was, for the Amoeba OS, originally: http://docs.python.org/faq/general#why-was-python-created-in-the-first-place Cheers, Chris -- http://mail.python.org/mailman/listinfo/python-list