Simple programme - Just want to know whether this is correct way of coding

Aahz aahz at pythoncraft.com
Sun May 10 01:01:19 EDT 2009


In article <49f8cb54-f268-46bc-a585-6d116674d00d at k19g2000prh.googlegroups.com>,
guptha  <gjango.py at gmail.com> wrote:
>
>This is my first programme in python ,I need to know whether my code
>is in the right path of performance
>
>I wrote a code using multithreading to send mails

Here's the Right Way to do this: install your a local mailserver on your
own machine and configure it to send to your external server.  You should
be able to pump hundreds of messages through it in minimal time.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"It is easier to optimize correct code than to correct optimized code."
--Bill Harlan



More information about the Python-list mailing list