[Tutor] Problem with "elif"
dman
dsh8290@rit.edu
Mon, 26 Nov 2001 13:43:24 -0500
On Sun, Nov 25, 2001 at 11:50:37PM -0500, Andrei Kulakov wrote:
| On Sun, Nov 25, 2001 at 10:46:19PM -0500, dman wrote:
| > They should, but why wait for a new release? This is what Open Source
| > is about :-). You found a bug, you fix the bug (on your system), then
| > you hope the maintainers include the fix in the next release.
|
| Hmm, I set sys.ps2 = "..." but it still don't show the dots..
|
| >>> sys.ps2 = "..."
| >>> if 1:
| do this
|
| SyntaxError: invalid syntax
| >>> if 1:
| print "yes"
| else:
| print "no"
|
|
| yes
IDLE must be more broken than I thought. I tested it with the
interpreter running directly from a shell. I don't have the idle
package installed.
-D
--
Contrary to popular belief, Unix is user friendly.
It just happens to be selective about who it makes friends with.
-- Dave Parnas