On Wed, Feb 11, 2009 at 3:48 PM, Stef Mientki <stef.mien...@gmail.com>wrote:
> Alec Schueler wrote: > >> On Feb 11, 7:58 pm, Stef Mientki <stef.mien...@gmail.com> wrote: >> >> >>> As there are a whole lot of these lines, in a whole lot of files, >>> I wonder if there's a simple trick to point >>> /usr/share/tinybldLin/ >>> to my directory ? >>> >>> thanks, >>> Stef >>> >>> >> >> Find and replace? >> >> > well I was thinking of a more elegant way, > so the scripts remains, or better become multi-platform. That's the problem with using external files- unless you can get to the file by some combination of os and os.path functions, you're pretty much stuck checking os.name and/or sys.platform and choosing filenames based on that.
-- http://mail.python.org/mailman/listinfo/python-list