IDLE 3.0rc3  (using XP)
>>> import os

>>> os.altsep
'/'
>>> os.path.altsep
'/'

>>> os.curdir
'.'
>>> os.path.curdir
'.'

>>> os.defpath
'.;C:\\bin'
>>> os.path.defpath
'.;C:\\bin'

>>> os.devnull
'nul'
>>> os.path.devnull
'nul'

>>> os.pardir
'..'
>>> os.path.pardir
'..'

>>> os.pathsep
';'
>>> os.path.pathsep
';'

>>> os.sep
'\\'
>>> os.path.sep
'\\'

these - me thinks - should go away:
   os.altsep
   os.path.curdir
   os.path.defpath
   os.pathsep
   os.sep

these I do not understand:
>>> os.devnull
'nul'
>>> os.path.devnull   # should probably go away
'nul'

>>> os.pardir
'..'
>>> os.path.pardir   # should probably go away
'..'

ciao, motu
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to