[Tutor] Is it a job for Thread or Process?

Andrei Kulakov ak@silmarill.org
Thu, 15 Nov 2001 17:02:23 -0500


On Thu, Nov 15, 2001 at 10:46:34PM +0100, A wrote:
> Hello,
> In my Python script I would like to start one function of this script 
> in a different thread or process?
> That function sends an email.
> Can you please give me an example how I can start a new thread 
> or process under Win32 systems?
> 
>  Is it better to  use a new thread  or a new process for this task?
> Thank you for help.
> Ladislav

Why use either? Sending a typical e-mail should take 1/10th of a second
or less, I imagine..

> 
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor

-- 
Cymbaline: intelligent learning mp3 player - python, linux, console.
get it at: cy.silmarill.org