[Tutor] If, elif, else

Steven D'Aprano steve at pearwood.info
Wed Jan 29 15:32:31 CET 2014


On Tue, Jan 28, 2014 at 07:42:25PM -0500, Dave Angel wrote:
>  "Michael L. Pierre" <Michael.Pierre at ccpoa.org> Wrote in message:
> > _______________________________________________
> > Tutor maillist  -  Tutor at python.org
> > To unsubscribe or change subscription options:
> > https://mail.python.org/mailman/listinfo/tutor
> > 
> 
> Start by posting in text form, since this is a text group.  You
>  apparently posted in html. And you doublespaced.

Sorry Dave, your tools are letting you down again. Michael did in fact 
post with plain text. His original email included both a text/plain part 
and a text/html part.

Now I'm no friend of posting in HTML, I think it's a poor idea from both 
a technical and social perspective, but I also realise that the horse 
has bolted on that one. The best we can hope for is for mail clients to 
do the right thing when posting in HTML and also provide a plain text 
version. If your client is unable to deal with that, you need a better 
client.


> Any reason you didn't use the date module?  The code would have
>  been much simpler. 

'Cos he's a newbie and probably doesn't know about the date module :-)



-- 
Steven


More information about the Tutor mailing list