Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
3.0rc3: List of 'os.', 'os.path.' attribute redundencies ... !! ?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
bMotu  
View profile  
 More options Nov 24 2008, 5:33 am
Newsgroups: comp.lang.python
From: bMotu <bcd...@gmail.com>
Date: Mon, 24 Nov 2008 11:33:28 +0100
Local: Mon, Nov 24 2008 5:33 am
Subject: 3.0rc3: List of 'os.', 'os.path.' attribute redundencies ... !! ?
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »