Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.python Subject: Re: Strategy/ Advice for How to Best Attack this Problem? Date: Sun, 29 Mar 2015 18:08:49 -0700 Organization: A noiseless patient Spider Lines: 9 Message-ID: <87a8yvs34u.fsf@jester.gateway.pace.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="bda44be170c76b3ef6d23fecd204a8fa"; logging-data="4715"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19qz2kLFrh7aLrcFrgFLzXz" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:K4QgO4yS/AyvLe/QxhYljkyelRU= sha1:ohJrXLrBVmH3RasqpY9ml0a5vws= Xref: csiph.com comp.lang.python:88299 Saran Ahluwalia writes: > cross-platform... > * Monitors a folder for files that are dropped throughout the day I don't see a cross-platform way to do that other than by waking up and scanning the folder every so often (once a minute, say). The Linux way is with inotify and there's a Python module for it (search terms: python inotify). There might be comparable but non-identical interfaces for other platforms.