[Tutor] demon / app I/F better way ?
Dave S
pythontut at pusspaws.net
Sun Nov 14 17:05:57 CET 2004
> Running the demon as a seperate thread is a good idea, I had not
> thought of that, I was going to 'demon.py &' it - which must be pretty
> inefficient.
>
> Queueing the data, like a FIFO buffer, that negates the need for
> /data/data_flag, if its read, its gone - thats elegent - I like that
> :-) . I could write a script that implements a FIFO function - or
> maybe I will find one in the vaults.
Just found one, and an interesting thread
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/68436
>
> As to using a socket, I have only encounterd passing references to
> them mainly when tweeking the linux kernel , Can you point me in the
> direction of how you can use them in Python ... ?
>
> Cheers
> Dave
More information about the Tutor
mailing list