[nycbug-talk] twisted python resources

Bob Ippolito bob
Sat Jan 29 13:21:30 EST 2005


On Jan 29, 2005, at 12:36 PM, csnyder wrote:


> On Sat, 29 Jan 2005 12:24:08 -0500, Bob Ippolito <bob at redivi.com> 
> wrote:
>
> <snips>
>
>> factory = protocol.ServerFactory()
>> factory.protocol = MyChat
>> factory.clients = []
>>
>> application = service.Application("TrivialServer")
>> internet.TCPServer(
>>      50000, factory,
>> ).setServiceParent(application)
>
>
> That is really, excellently cool.
>
> What is the character (rendered as a box in my view) after 
> "factory.clients="  ?

Two characters, it's an [empty list], but I suppose it looks like a box 
with a proportional font to the untrained eye :)

-bob





More information about the talk mailing list