[Tutor] sys.exit() not working
Sat, 4 Aug 2001 18:40:15 -0400 (EDT)
>From: Bruce Sass <firstname.lastname@example.org>
>Subject: Re: [Tutor] sys.exit() not working
>On Sat, 4 Aug 2001 email@example.com wrote:
>> In the following code sys.exit() fails on the first test (denoted
>> <---FAILS); but works fine on the second test (denoted <---WORKS).
>You need to test if "files" is really a list of files, or a message
>from "ls", Python has no way of knowing the later is really an error.
That was my problem! Thanks! See my reply to Michael.
- fleet -