Can I subclass a class?

This is for the moderation bot for C & C Renegade, if someone wants some kind of background.

I have a class that will act as a parent for loading subclasses that provide IRC connections, connecting to a gamelog (UDP socket), etc., and I want to know if some of these subclasses can be split (in particular , two nested connections [IRC, gamelog]) into their streams using the streaming module.

If anyone has suggestions, even if he simply says that this is not possible, I would appreciate input.

Tom

Edit: I have experience with streaming applications, so I'm not a complete noob, honest.

+3
source share
2 answers

This is possible, see:

multiprocessing

, - , , .

+1

gevent . , . . Eventlet ( python, - ) node.js.

0

All Articles