On Wed, Sep 15, 2010 at 09:31:45PM +0300, Григор Колев <grigor.ko...@gmail.com> 
wrote:
> Hi.

Hi, Grigoriy.

> I try to make a program to connect my POS system with Geovision video
> server. I can connect directly with serial port but on the POS no have
> free serial. 
> My POS can send information like file on video server. 
> I can read this file with Python.
> 
> It is first problem:
> My script can looking the directory every 10 second and if have new file
> can opens it but I think have better way to making it.

For monitoring FS try to use pynotify library 
(http://pyinotify.sourceforge.net/).

-- 
Please, use plain text message format contacting me, and
don't use proprietary formats for attachments (such as DOC, XLS)
use PDF, TXT, ODT, HTML instead. Thanks.
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to