On 10/14/2010 9:28 PM, James Mills wrote:
On Fri, Oct 15, 2010 at 11:22 AM, chris wrote:
But what if I want it to serve one client, go to another and then go back.
How does that work?
You do some I/O multi-plexing or multi-processing/threading.
You might want to do some reading on this.
che
On Fri, Oct 15, 2010 at 3:06 PM, Evert Rol wrote:
> The very last example on http://docs.python.org/library/socketserver.html may
> help you.
> Or perhaps the asyncore/asynchat modules.
Alternatively Twisted (1) or circuits (2)
cheers
James
1. http://twistedmatrix.com/trac/
2. http://bitbucket
>>> But what if I want it to serve one client, go to another and then go back.
>>> How does that work?
>
> You do some I/O multi-plexing or multi-processing/threading.
>
> You might want to do some reading on this.
The very last example on http://docs.python.org/library/socketserver.html may
he
On Fri, Oct 15, 2010 at 11:22 AM, chris wrote:
>> But what if I want it to serve one client, go to another and then go back.
>> How does that work?
You do some I/O multi-plexing or multi-processing/threading.
You might want to do some reading on this.
cheers
James
--
-- James Mills
--
-- "Pro
On 10/14/2010 12:49 PM, Evert Rol wrote:
Hi Chris,
Bit hard to comment on the actual code, as it was in attachments, but the
important bit is here:
class Handler(SocketServer.BaseRequestHandler): #the handler
'''A handler which calls %s in the handle method.'''%handle_func
Hi Chris,
Bit hard to comment on the actual code, as it was in attachments, but the
important bit is here:
class Handler(SocketServer.BaseRequestHandler): #the handler
'''A handler which calls %s in the handle method.'''%handle_func
def handle(self): #the handle method
On 10/3/2010 7:20 PM, Chris King wrote:
On 10/2/2010 3:40 PM, Evert Rol wrote:
Dear Tutors,
I have attached my 2 programs for networking. It uses socket
and SocketServer, but it just simplifies it even more. The problem
is it won't work. The Client raises the error, (with trace back)
T
On 10/2/2010 3:40 PM, Evert Rol wrote:
Dear Tutors,
I have attached my 2 programs for networking. It uses socket and
SocketServer, but it just simplifies it even more. The problem is it won't
work. The Client raises the error, (with trace back)
Traceback (most recent call last):
File "
> Dear Tutors,
> I have attached my 2 programs for networking. It uses socket and
> SocketServer, but it just simplifies it even more. The problem is it won't
> work. The Client raises the error, (with trace back)
> Traceback (most recent call last):
> File "G:\My Dropbox\My Dropbox\Chris\N
Dear Tutors,
I have attached my 2 programs for networking. It uses socket and
SocketServer, but it just simplifies it even more. The problem is it
won't work. The Client raises the error, (with trace back)
Traceback (most recent call last):
File "G:\My Dropbox\My Dropbox\Chris\Not done\c
On Monday 27 December 2004 4:22 pm, Marco wrote:
> Hi python tutors,
> Im interested on learning python but i would like to focus in a specific
> topic, networking, where can i find documention networking in python?
> sockets and all that stuff? i looked for some information but all of them
> were
> Im interested on learning python but i would like to focus in
> a specific topic, networking, where can i find documention
> networking in python? sockets and all that stuff?
Look at the sockets module documentation.
If you know how to use sockets in C or Perl
then it should be obvious.
Als
Hello Marco,
Here are a few good places to start when going into networking with Python:
Socket Programming in Python HOWTO:
http://www.amk.ca/python/howto/sockets/
Documentation for the Python socket module:
http://docs.python.org/lib/module-socket.html
O'Reilly Network articles about Python netwo
Hi,
I think you can try the mailing-list WEB-SIG
http://mail.python.org/mailman/listinfo/web-sig
Juan
Marco wrote:
Hi python tutors,
Im interested on learning python but i would like to focus in a specific topic,
networking, where can i find documention networking in python? sockets and all
Hi python tutors,
Im interested on learning python but i would like to focus in a specific topic,
networking, where can i find documention networking in python? sockets and all
that stuff? i looked for some information but all of them were just vague.
thanks in advance,
Marco
--
"If knowledge
15 matches
Mail list logo