Re: Windows vs. Linux

2006-08-02 Thread Christopher Weimann
The system cannot find the path specified. It IGNORES a leading / char. -- Christopher Weimann http://www.k12usa.com K12USA.com Cool Tools for Schools! -- http://mail.python.org

Re: Advanced lockfiles

2006-06-12 Thread Christopher Weimann
On 06/12/2006-11:00AM, David Hirschfield wrote: I want some kind of lockfile implementation that will allow one process to lock a file (or create an appropriately named lockfile that other processes will find and understand the meaning of), but there are some important requirements:

Re: Tabs are *MISUNDERSTOOD*, *EVIL* AND *STUPID*, end of discussion. (Re: Tabs versus Spaces in Source Code)

2006-05-19 Thread Christopher Weimann
On 05/19/2006-07:18AM, Duncan Booth wrote: My experience of programming with either spaces or tabs has taught me that tabs are evil not for themselves, but simply because no matter how hard you try they always end up being mixed with spaces. Swap the word 'tabs' for the word 'spaces' and

Re: Strange problem when running python code

2006-04-04 Thread Christopher Weimann
On 04/04/2006-12:01PM, ishtar2020 wrote: This is the line where the interpreter finds the error if text.list[i].toString() in limits:list)): - Here is where That line has two extra close parens before the : Can you show the traceback? --

Re: How to remove subset from a file efficiently?

2006-01-13 Thread Christopher Weimann
On 01/12/2006-09:04AM, fynali wrote: - PSP320.dat (quite a large list of mobile numbers), - CBR319.dat (a subset of the above, a list of barred bumbers) fgrep -x -v -f CBR319.dat PSP320.dat PSP-CBR.dat -- http://mail.python.org/mailman/listinfo/python-list

Re: write to the same file from multiple processes at the same time?

2005-05-27 Thread Christopher Weimann
On 05/27/2005-06:02PM, Peter Hansen wrote: Hmm... just tried it: you're right! On the other hand, the results were unacceptable: each process has a separate file pointer, so it appears whichever one writes first will have its output overwritten by the second process. Did you open the

Re: re module non-greedy matches broken

2005-04-04 Thread Christopher Weimann
On 04/04/2005-04:20PM, lothar wrote: how then, do i specify a non-greedy regex 1st-patnot-1st-pat*?follow-pat that is, such that non-greedy part not-1st-pat*? excludes a match of 1st-pat jet% cat vwre2.py #! /usr/bin/env python import re vwre = re.compile(V[^V]W) vwlre =