[Tutor] wait command

Kyle Babich kb@mm.st
Fri, 9 Aug 2002 23:02:17 UT


On Fri, 9 Aug 2002 16:38:16 -0400, "Watt III, Glenn"
<gwatt3@backbonesecurity.com> said:
> this is probobly a stupid question but is there a command to wait for a
> condition like
> when condition:
> 	action

You probably mean if/elsif/else:

if name =3D=3D "billy":
    print "Hi Billy"
elsif name =3D=3D "bob":
    print "Hi Bob"
elsif name =3D=3D "joe":
    print "Hi Joe"
else:
    print "Hi BillyBobJoe"

> or something that would do the same thing but a diffrent manner i would
> appreciate any help thanks
>=20
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>=20

--
Kyle