[ZODB-Dev] Possible To Start ZEO Via Script?

John Abel john.abel@pa.press.net
Tue, 04 Feb 2003 15:12:50 +0000


Hi,

Thanks the answers!  Sorry if my explanation was a little off, 
thankfully you all guessed what I was after!

Regards

John

Guido van Rossum wrote:

>>Is it possible to have a script start up ZEO, instead of using 
>>ZEO/start.py?  I have a script, that makes use of ZEO/ZODB, and I wanted 
>>the script to start ZEO as it started.
>>    
>>
>
>I'm not sure I understand your question, but if you are asking whether
>you can write your own Python script to start a ZEO server, yes, you
>can do that.  You have to instantiate StorageServer() and run
>asyncore.mainloop().
>
>--Guido van Rossum (home page: http://www.python.org/~guido/)
>  
>