Dennis Lee Bieber wrote:
> On Thu, 06 Mar 2008 22:35:18 -0500, Sam <[EMAIL PROTECTED]> declaimed
> the following in comp.lang.python:
> ['line 1', 'line 2', 'embedded', 'line', 'something']
sample="""line 1\rline 2\rembedded\nline\rsomething\r"""
sample.splitlines()
> ['line 1', 'line 2
Dennis Lee Bieber wrote:
>
> I'm not sure why you need to subclass from threading.Thread if all
> the thread control is being done internal to this class. Subclassing
> means being able to do things like:
>
Well it was the first thing that occured to me how to have
private data for each thread
On Mar 5, 6:09 pm, sambo q <[EMAIL PROTECTED]> wrote:
> I got myself in jam trying to be too fancy with threading.Thread
> Docs say / remind to call the base __init__
> but I can't fighure out how.
>
> ---
> def main()
> .
> ls.listen(5)
> key = ' '
> # while
On Mar 5, 6:09 pm, sambo q <[EMAIL PROTECTED]> wrote:
> I got myself in jam trying to be too fancy with threading.Thread
> Docs say / remind to call the base __init__
> but I can't fighure out how.
>
> ---
> def main()
> .
> ls.listen(5)
> key = ' '
> # while
I got myself in jam trying to be too fancy with threading.Thread
Docs say / remind to call the base __init__
but I can't fighure out how.
---
def main()
.
ls.listen(5)
key = ' '
#while key != EXITCHARCTER:
while stop_serving == False:
cs, raddr