Newbie: trying to twist my head around twisted (and python)

2006-10-11 Thread Jan Bakuwel
Hoi all, Please see below a small piece of python code that resembles a smtpserver using the twisted framework. The code is based on the example smtp server discussed in Twisted Network Programming Essentials. The unmodified example code can be found on the O'Reilly website: (http://examples.oreil

Re: Newbie: trying to twist my head around twisted (and python)

2006-10-11 Thread Jan Bakuwel
Hoi Jean-Paul, > The return value of eomReceived is used to determine whether to signal to > the SMTP client whether the message has been accepted. Regardless of your > application logic, if you are taking responsibility for the message, you > should return a successful result. If all of your pr

Newbie: how to wait for callbacks...

2006-10-13 Thread Jan Bakuwel
Hoi all, I'm trying to write a little code that waits for a callback routine to be called, ideally with a timeout... I guess the code below is not right (using a boolean flag), but since I'm new to Python, I don't know yet where the semaphores live and/or whether I'm on the right track... Any he

Re: IDE

2006-10-13 Thread Jan Bakuwel
John Purser wrote: > On Fri, 2006-10-13 at 15:48 +, giuseppe wrote: >> What is the better IDE software for python programming? >> >> many thanks >> >> joe > > Joe, > > Find the best Python programmer and ask him/her. > > John Purser I may be the worst Python programmer (since Python is new

Re: Newbie: trying to twist my head around twisted (and python)

2006-10-13 Thread Jan Bakuwel
Jean-Paul Calderone wrote: > The return value of eomReceived is used to determine whether to signal to > the SMTP client whether the message has been accepted. Regardless of your > application logic, if you are taking responsibility for the message, you > should return a successful result. If al