On Tue, Sep 15, 2009 at 04:54:09PM +0700, Artem Bokhan wrote: > Tim Allen пишет: > > On Mon, Sep 14, 2009 at 10:09:38PM +0700, Artem Bokhan wrote: > > > >> May somebody give a sample code of simple global counter which could be > >> used with twisted (non-web) enviroment? > > > > I'm not sure what you mean. > I want find out if it's possible to count things in context of the > whole twisted server, not just one tcp session.
Well, of course - you can create global variables in Python, and nothing in Twisted affects that. _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python