On Sep 2, 12:25 pm, Vlastimil Brom <vlastimil.b...@gmail.com> wrote: > 2010/9/2 swapnil <swapnil...@gmail.com>:> I could not find any documentation > for variables os.path.sep and > > os.path.altsep. Although the first is pretty straightforward can > > anyone explain the purpose of the second variable? Is it even useful? > > According to issuehttp://bugs.python.org/issue709428, os.path.altsep > > was 'None' till a long time and it didn't bother anyone? > > -- > >http://mail.python.org/mailman/listinfo/python-list > > seehttp://docs.python.org/library/os.html#os.sephttp://docs.python.org/library/os.html#os.altsep > > On windows it returns a slash>>> os.altsep > > '/' > which is often easier to use (i.e. if I understand correctly, in most > usual cases the forward slash should probably just work on most of the > recent OSes). > > vbr
Thanks for help -- http://mail.python.org/mailman/listinfo/python-list