Sion Arrowsmith wrote:
> Bruno Desthuilliers  <[EMAIL PROTECTED]> wrote:
>> fpath = os.path.join('datafiles', filename + ".tabdata")
> 
> fpath = os.path.join('datafiles', filename + os.path.extsep + "tabdata")

> 8-) I'm a bit bemused by extsep -- it didn't appear until 2.2, by
> which time there can't have been many people with an OS where it was
> anything other than '.'.

FWIW, I know of only one family of OSes that relies on the name-dot-ext
scheme for anything else than informative purpose...

Now Python runs on a lot of platforms, so some of them may possibly be
somewhat exotic wrt/ this kind of stuff ?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to