Re: Error: child process close a socket inherited from parent

2011-05-29 Thread narke
On 2011-05-29, Chris Torek wrote: > In article > narke wrote: >>As illustrated in the following simple sample: >> >>import sys >>import os >>import socket >> >>class Server: >>def __init__(self): >>self._list

Re: Error: child process close a socket inherited from parent

2011-05-29 Thread narke
On 2011-05-29, narke wrote: > Hi, > > As illustrated in the following simple sample: > > import sys > import os > import socket > > class Server: > def __init__(self): > self._listen_sock = None > > def _talk_to_client(self, conn, addr): >

Error: child process close a socket inherited from parent

2011-05-29 Thread narke
child process can close a unused socket (file descriptor). Do you know what's wrong here? -- Life is the only flaw in an otherwise perfect nonexistence -- Schopenhauer narke -- http://mail.python.org/mailman/listinfo/python-list

Re: smtplib with Google

2010-09-13 Thread narke
On 2010-09-13, member thudfoo wrote: > On Mon, Sep 13, 2010 at 9:20 AM, narke wrote: >> >> Hi, >> >> Can anyone please show me a workable example that can let me use >> google's smtp server to send out a message?  Thanks. >> > > Go here: > >

smtplib with Google

2010-09-13 Thread narke
Hi, Can anyone please show me a workable example that can let me use google's smtp server to send out a message? Thanks. -- Life is the only flaw in an otherwise perfect nonexistence -- Schopenhauer narke -- http://mail.python.org/mailman/listinfo/python-list

Re: Distribute Non Library

2010-09-12 Thread narke
On 2010-09-12, CM wrote: > On Sep 11, 11:10 pm, narke wrote: >> My simple tool writing in python get bigger and bigger and I think I'd >> better split my code into several files.  But, unlike what in some other >> languages, there is no way to compile these s

Re: Distribute Non Library

2010-09-12 Thread narke
On 2010-09-12, Diez B. Roggisch wrote: > narke writes: > >> My simple tool writing in python get bigger and bigger and I think I'd >> better split my code into several files. But, unlike what in some other >> languages, there is no way to compile these several file

Re: Distribute Non Library

2010-09-12 Thread narke
On 2010-09-12, Glazner wrote: > On Sep 12, 5:10 am, narke wrote: >> My simple tool writing in python get bigger and bigger and I think I'd >> better split my code into several files.  But, unlike what in some other >> languages, there is no way to compile these s

Distribute Non Library

2010-09-12 Thread narke
Can I simply create a directory in /usr/local/bin and put my script and other used files into the directory? Does distutils help in this case? Thanks in advance. -- Life is the only flaw in an otherwise perfect nonexistence -- Schopenhauer narke -- http://mail.python.org/mailman/lis

Re: A ClientForm Question

2005-04-06 Thread narke
thing up and there is no a easy solution. Am I right? - narke -- http://mail.python.org/mailman/listinfo/python-list

A ClientForm Question

2005-04-01 Thread narke
is "onclick=" statement cause something weird, but I do not understand it. And, in the source containing the form, i found nowhere the Page_ClientValidate() resides. What's wrong? - narke -- http://mail.python.org/mailman/listinfo/python-list