SpreadTooThin wrote:
> but why is it every time I try to do something with 'stock' python I
> need another package?
it's well known that all problems known to man can be solved by down-
loading Twisted, PyParsing, the Stream Editor, or that other programming
language that cannot be named.
--
SpreadTooThin wrote:
> Jean-Paul many thanks for this and your effort.
> but why is it every time I try to do something with 'stock' python I
> need another package?
Twisted has it's fan, but you don't "need" it. Your code had a few
specific problems, and fixing them has little or nothing to do wi
Jean-Paul Calderone wrote:
> On 5 Oct 2006 07:01:50 -0700, SpreadTooThin <[EMAIL PROTECTED]> wrote:
> > [snip]
> >
> >Jean-Paul many thanks for this and your effort.
> >but why is it every time I try to do something with 'stock' python I
> >need another package?
>
> Maybe you are trying to do thin
On 5 Oct 2006 07:01:50 -0700, SpreadTooThin <[EMAIL PROTECTED]> wrote:
> [snip]
>
>Jean-Paul many thanks for this and your effort.
>but why is it every time I try to do something with 'stock' python I
>need another package?
Maybe you are trying to do things that are too complex :)
>By the time I'
Jean-Paul Calderone wrote:
> On 4 Oct 2006 19:31:38 -0700, SpreadTooThin <[EMAIL PROTECTED]> wrote:
> >client:
> >
> >import socket
> >s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
> >s.connect(("192.168.1.101", 8080))
> >print 'Connected'
> >s.send('ABCD')
>
> Here you didn't check the re
On 4 Oct 2006 19:31:38 -0700, SpreadTooThin <[EMAIL PROTECTED]> wrote:
>client:
>
>import socket
>s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
>s.connect(("192.168.1.101", 8080))
>print 'Connected'
>s.send('ABCD')
Here you didn't check the return value of send to determine if all of the