Class data being zapped by method
Bruno Desthuilliers
onurb at xiludom.gro
Wed Aug 9 12:08:49 EDT 2006
Sion Arrowsmith wrote:
> Bruno Desthuilliers <onurb at xiludom.gro> 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 ?
More information about the Python-list
mailing list