[Twisted-Python] Ldaptor for a simple python LDAP server

2009-04-15 Thread Alex Davies
Hi, I'm looking to write a very simple LDAP server in Python. I want to hard code the few attributes that I have, and make them available to clients. I am not the worlds most able programmer, but have looked at the code, documentation and talks about Ldaptor and it seems that this can do what I ne

[Twisted-Python] Writing a shutdown command that sends an ACK back

2009-04-15 Thread Rutt, Benjamin
Is there a good way, in, say, a LineReceiver based server, to implement a bit of code in lineReceived() that, if you receive a line like, let's say, 'shutdown' from a client, you can call: 1) self.transport.write('goodbye\n') # send a goodbye message to the client And then call 2) self.transpor

[Twisted-Python] Re: Can't quit a Tkinter application on MacOS X when using Twisted; fix? workaround?

2009-04-15 Thread Russell E. Owen
In article <20090413211444.24697.1739128157.divmod.quotient.7...@henry.divmod.com>, Jean-Paul Calderone wrote: >... > It sounds like we should expand the Tk documentation to include the solution > you found, in case someone else without a closeable root window wants to use > Twisted with Tkinte

Re: [Twisted-Python] Writing a shutdown command that sends an ACK back

2009-04-15 Thread Jean-Paul Calderone
On Wed, 15 Apr 2009 16:32:48 -0400, "Rutt, Benjamin" wrote: Is there a good way, in, say, a LineReceiver based server, to implement a bit of code in lineReceived() that, if you receive a line like, let's say, 'shutdown' from a client, you can call: 1) self.transport.write('goodbye\n') # send