Re: pop line from file

2006-02-16 Thread Sinan Nalkaya
i am unix platform, now searching for the mkfifo topics. thank you all. -- http://mail.python.org/mailman/listinfo/python-list

Re: pop line from file

2006-02-15 Thread Atanas Banov
Sybren Stuvel wrote: > If you're working on a UNIX platform, you could use FIFO pipes, see > 'mkfifo'. named pipes exist on windows, see win32pipe.CreateNamedPipe -- http://mail.python.org/mailman/listinfo/python-list

Re: pop line from file

2006-02-15 Thread Sybren Stuvel
Sinan Nalkaya enlightened us with: > i searched and google long long time but couldnt find any result, i > want pop the first line from file, i dont want to read all file > contents because file is being updated from another proccess. So basically, what you want is some sort of on-disk FIFO queue,

Re: pop line from file

2006-02-15 Thread Dylan Wilson
Try open.readline() >>>help(open) ... -- http://mail.python.org/mailman/listinfo/python-list

pop line from file

2006-02-15 Thread Sinan Nalkaya
hello all, i searched and google long long time but couldnt find any result, i want pop the first line from file, i dont want to read all file contents because file is being updated from another proccess. even i couldnt realize its algorithm, thanks for any suggestion -- http://mail.python.org/mai