grocery_stocker wrote:
>On Apr 23, 3:29 pm, Chris Rebert wrote:
>> On Thu, Apr 23, 2009 at 3:21 PM, grocery_stocker wrote:
>> > Say I have a script that fetches data from a website every hour. Is
>> > there a general solution or is the solution operating system specific?
>>
>> WRT the periodic
On Apr 23, 3:29 pm, Chris Rebert wrote:
> On Thu, Apr 23, 2009 at 3:21 PM, grocery_stocker wrote:
> > Say I have a script that fetches data from a website every hour. Is
> > there a general solution or is the solution operating system specific?
>
> WRT the periodic operation part of your task, th
On Thu, Apr 23, 2009 at 3:21 PM, grocery_stocker wrote:
> Say I have a script that fetches data from a website every hour. Is
> there a general solution or is the solution operating system specific?
WRT the periodic operation part of your task, there's the `sched`
module -- http://docs.python.org
On Thu, 23 Apr 2009 15:21:21 -0700 (PDT), grocery_stocker
wrote:
Say I have a script that fetches data from a website every hour. Is
there a general solution or is the solution operating system specific?
General solution to what problem?
Jean-Paul
--
http://mail.python.org/mailman/listinfo/p
On Apr 23, 2009, at 6:21 PM, grocery_stocker wrote:
Say I have a script that fetches data from a website every hour. Is
there a general solution or is the solution operating system specific?
It's not OS-specific. See the Python standard library modules urllib,
urllib2, or just run a command