Vishal Bhargava wrote:
> What kind of file is it? CSV?
It's a hand history file generated by an online poker client, thus it
probably keeps it's data pretty much to itself otherwise, and in any
case I'm not a Windows programmer so I probably don't have the stomach
to get very deep into its proc
Gabriel Genellina wrote:
> This article explains it in detail:
> http://tgolden.sc.sabren.com/python/win32_how_do_i/watch_directory_for_changes.html
>
>
> BTW, it's the top result on Google for "python notify file change windows"
>
> --Gabriel Genellina
Ah, excelent. Thank you. I'd started w
In article <[EMAIL PROTECTED]>, John Nagle wrote:
>> On Unix a quick shortcut would be to simply read the output of 'tail -
>> f ' command...
>
> "tail -f" just checks the file size once a second. It's not doing
> anything exciting.
That's not actually always true these days. *BSD, at least,
What kind of file is it? CSV?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jeremy Sanders
Sent: Monday, March 12, 2007 11:26 AM
To: python-list@python.org
Subject: Re: Watching a file another app is writing
Gordon Airporte wrote:
> I'm trying
Gordon Airporte wrote:
> I'm trying to find a way to take a file that another program has opened
> and writes to periodically, open it simultaneously in Python, and
> automatically update some of my objects in Python when the file is
> written to.
> I can open the file and manually readlines() fro
Nick Vatamaniuc wrote:
> On Mar 11, 3:36 pm, Gordon Airporte <[EMAIL PROTECTED]> wrote:
>
>>I'm trying to find a way to take a file that another program has opened
>>and writes to periodically, open it simultaneously in Python, and
>>automatically update some of my objects in Python when the file
Gordon Airporte schreef:
> Nick Vatamaniuc wrote:
> > You might need to look at pywin32 for Windows specific ways to listen
>> to "file changed" event.
>>
>> On Unix a quick shortcut would be to simply read the output of 'tail -
>> f ' command...
>
> Ah, I forgot I have Cygwin installed, so I do
En Mon, 12 Mar 2007 04:25:48 -0300, Gordon Airporte <[EMAIL PROTECTED]>
escribió:
> Nick Vatamaniuc wrote:
> > You might need to look at pywin32 for Windows specific ways to listen
>> to "file changed" event.
This article explains it in detail:
http://tgolden.sc.sabren.com/python/win32_how_do
Nick Vatamaniuc wrote:
> You might need to look at pywin32 for Windows specific ways to listen
> to "file changed" event.
>
> On Unix a quick shortcut would be to simply read the output of 'tail -
> f ' command...
Ah, I forgot I have Cygwin installed, so I do have tail. Unfortunately
Windows w
On Mar 11, 3:36 pm, Gordon Airporte <[EMAIL PROTECTED]> wrote:
> I'm trying to find a way to take a file that another program has opened
> and writes to periodically, open it simultaneously in Python, and
> automatically update some of my objects in Python when the file is
> written to.
> I can ope
10 matches
Mail list logo