Re: [Tutor] close failed in file object destructor:

2011-10-18 Thread Navneet
Hi, I am trying to search a list for prime numbers but it's throwing me an error at line no.25. I am not able to figure what exactly is the prob ne help ??? Error is this: $ python "prime1 - Copy.py" Unhandled exception in thread started by Traceback (most recent call last): File "prime1 - Co

[Tutor] Socket Programming

2012-01-26 Thread Navneet
Hi, I am trying to create a chat program.(Programs are attached) Please find the code below, where I am having the problem. def run( self ): while 1: print "Hello There " print self.descriptors # Await an event on a readable socket descriptor (srea

Re: [Tutor] Socket Programming

2012-01-27 Thread Navneet
On 1/26/2012 4:22 PM, Navneet wrote: Hi, I am trying to create a chat program.(Programs are attached) Please find the code below, where I am having the problem. def run( self ): while 1: print "Hello There " print self.descriptors # Await an

Re: [Tutor] Socket Programming

2012-01-29 Thread Navneet
On 1/27/2012 10:13 PM, Steven D'Aprano wrote: Navneet wrote: One more thing I want to add here is, I am trying to create the GUI based chat server.(Attached the programs.) Please do not send large chunks of code like this, unless asked. Instead, you should try to produce a minimal ex