Unix Device File Emulation

Ville M. Vainio vivainio at gmail.com
Wed Apr 23 11:17:34 EDT 2008


blaine wrote:

> example usage: echo 'line 0 0 10 10' > /dev/screen
> 
> On the actual embedded device this is handled by a kernel module.  We
> can spit commands into it as fast as we can and the kernel module can
> keep up.  This is typical unix device file behavior.
> 
> Any suggestions or advice would be splendid.  Thanks!

Assuming you are on unix, have you considered FIFO's, os.mkfifo()?



More information about the Python-list mailing list