Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #88302
| Path | csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.010 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'interfaces': 0.04; 'option,': 0.09; 'url:github': 0.09; 'whichever': 0.09; 'windows,': 0.09; 'subject:How': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; 'wrote': 0.14; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'golden': 0.16; 'monitors': 0.16; 'subject:Problem': 0.16; 'terms:': 0.16; 'url:py': 0.16; 'url:timgolden': 0.16; 'folder': 0.16; 'wrote:': 0.18; 'module': 0.19; 'cc:addr:python.org': 0.22; 'mon,': 0.24; 'paul': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'tim': 0.29; 'message-id:@mail.gmail.com': 0.30; 'getting': 0.31; 'coded': 0.31; 'dropped': 0.31; 'writes:': 0.31; 'linux': 0.33; 'url:python': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'subject:?': 0.36; 'throughout': 0.37; 'too': 0.37; 'files': 0.38; 'pm,': 0.38; 'skip:n 10': 0.64; '30,': 0.65; 'mar': 0.68; 'url:me': 0.69; 'day': 0.76; 'subject:this': 0.83; '2015': 0.84; 'comparable': 0.84; 'url:master': 0.84; 'waking': 0.84; 'subject:Best': 0.91; 'to:none': 0.92 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=v5IcHNxo3JqHnclkXoGVO88SVO6QzpdHpLcKDrStrBI=; b=RUC54M2XcZNQPd3IzzqVOEaBdnG1+G63iA40AAdtQkqP3Qqmmnr2N1ObiqggdL4SVy CGB8LgWPgpaOIVXG3G7AjVBbcnLAvKvSqHiePM7j1ILuXCZsCNuL1TpHlVf0/iSih8zD qSvc5VcTaSaTnoYadZVHZjhpAsO0jRCM9pEy95GyW+s0OQa9U4kkoHBKip+WgBwuKnuB opwp1VcS1XDnKl0k7sh3ssi12jxY/BM3HrFE5TcXxzS8d7ntGRDdtKu7+2zMeKYW40pC zRHNbiwGMP3KJLXA/caE41wyOR9QullzcXDXyDuyFT7k13Mg1uEtK5HbIGS7yjoWjKAU 5D0w== |
| MIME-Version | 1.0 |
| X-Received | by 10.50.43.197 with SMTP id y5mr3821850igl.14.1427681062488; Sun, 29 Mar 2015 19:04:22 -0700 (PDT) |
| In-Reply-To | <87a8yvs34u.fsf@jester.gateway.pace.com> |
| References | <b803183b-6da5-4907-825d-9386b2bc2798@googlegroups.com> <87a8yvs34u.fsf@jester.gateway.pace.com> |
| Date | Mon, 30 Mar 2015 13:04:22 +1100 |
| Subject | Re: Strategy/ Advice for How to Best Attack this Problem? |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.19 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.323.1427681070.10327.python-list@python.org> (permalink) |
| Lines | 21 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1427681070 news.xs4all.nl 2904 [2001:888:2000:d::a6]:51939 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:88302 |
Show key headers only | View raw
On Mon, Mar 30, 2015 at 12:08 PM, Paul Rubin <no.email@nospam.invalid> wrote: > Saran Ahluwalia <ahlusar.ahluwalia@gmail.com> 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. All too often, "cross-platform" means probing for one option, then another, then another, and using whichever one you can. On Windows, there's FindFirstChangeNotification and ReadDirectoryChanges, which Tim Golden wrote about, and which I coded up into a teleporter for getting files out of a VM automatically: http://timgolden.me.uk/python/win32_how_do_i/watch_directory_for_changes.html https://github.com/Rosuav/shed/blob/master/senddir.py ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Strategy/ Advice for How to Best Attack this Problem? Saran Ahluwalia <ahlusar.ahluwalia@gmail.com> - 2015-03-29 04:32 -0700
Addendum to Strategy/ Advice for How to Best Attack this Problem? Saran Ahluwalia <ahlusar.ahluwalia@gmail.com> - 2015-03-29 04:37 -0700
Re: Addendum to Strategy/ Advice for How to Best Attack this Problem? Peter Otten <__peter__@web.de> - 2015-03-29 14:33 +0200
Re: Addendum to Strategy/ Advice for How to Best Attack this Problem? Saran A <ahlusar.ahluwalia@gmail.com> - 2015-03-29 05:41 -0700
Re: Addendum to Strategy/ Advice for How to Best Attack this Problem? Saran A <ahlusar.ahluwalia@gmail.com> - 2015-04-01 07:17 -0700
Re: Addendum to Strategy/ Advice for How to Best Attack this Problem? Dave Angel <davea@davea.name> - 2015-03-29 09:27 -0400
Re: Strategy/ Advice for How to Best Attack this Problem? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-03-29 19:00 -0400
Re: Strategy/ Advice for How to Best Attack this Problem? Paul Rubin <no.email@nospam.invalid> - 2015-03-29 18:08 -0700
Re: Strategy/ Advice for How to Best Attack this Problem? Chris Angelico <rosuav@gmail.com> - 2015-03-30 13:04 +1100
Re: Strategy/ Advice for How to Best Attack this Problem? Saran A <ahlusar.ahluwalia@gmail.com> - 2015-03-30 09:45 -0700
Re: Strategy/ Advice for How to Best Attack this Problem? Dave Angel <davea@davea.name> - 2015-03-30 14:35 -0400
Re: Strategy/ Advice for How to Best Attack this Problem? Saran A <ahlusar.ahluwalia@gmail.com> - 2015-03-31 04:00 -0700
Re: Strategy/ Advice for How to Best Attack this Problem? Dave Angel <davea@davea.name> - 2015-03-31 09:19 -0400
Re: Strategy/ Advice for How to Best Attack this Problem? Saran A <ahlusar.ahluwalia@gmail.com> - 2015-04-01 06:43 -0700
Re: Strategy/ Advice for How to Best Attack this Problem? Dave Angel <davea@davea.name> - 2015-04-01 19:51 -0400
Re: Strategy/ Advice for How to Best Attack this Problem? Saran A <ahlusar.ahluwalia@gmail.com> - 2015-04-02 06:06 -0700
Re: Strategy/ Advice for How to Best Attack this Problem? Dave Angel <davea@davea.name> - 2015-04-02 17:10 -0400
Re: Strategy/ Advice for How to Best Attack this Problem? Saran A <ahlusar.ahluwalia@gmail.com> - 2015-04-02 16:43 -0700
Re: Strategy/ Advice for How to Best Attack this Problem? Peter Otten <__peter__@web.de> - 2015-04-03 12:45 +0200
Re: Strategy/ Advice for How to Best Attack this Problem? Saran A <ahlusar.ahluwalia@gmail.com> - 2015-04-03 06:40 -0700
Re: Strategy/ Advice for How to Best Attack this Problem? Dave Angel <d@davea.name> - 2015-04-03 07:59 -0400
Re: Strategy/ Advice for How to Best Attack this Problem? Saran A <ahlusar.ahluwalia@gmail.com> - 2015-04-03 05:50 -0700
Re: Strategy/ Advice for How to Best Attack this Problem? Dave Angel <davea@davea.name> - 2015-04-03 16:21 -0400
Re: Strategy/ Advice for How to Best Attack this Problem? Rustom Mody <rustompmody@gmail.com> - 2015-04-03 19:16 -0700
csiph-web