Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #9885

Re: os.path.isdir do not work for Foder named '2011-07-03'

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!zen.net.uk!dedekind.zen.co.uk!tudelft.nl!txtfeed1.tudelft.nl!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <ethan@stoneleaf.us>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.013
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'python': 0.08; 'ah,': 0.09; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'message-id:@stoneleaf.us': 0.09; 'received:gator410.hostgator.com': 0.09; '~ethan~': 0.09; 'wrote:': 0.15; '(does': 0.16; 'paths.': 0.16; 'slashes': 0.16; 'subject:named': 0.16; "'python": 0.19; 'subject:not': 0.21; 'header:In-Reply-To:1': 0.22; 'assume': 0.23; 'dropped': 0.23; 'code': 0.24; 'somebody': 0.28; 'all,': 0.28; 'least': 0.31; 'cases': 0.32; 'to:addr:python-list': 0.34; 'header:User-Agent:1': 0.34; 'thread': 0.37; 'but': 0.37; 'subject:: ': 0.38; 'steven': 0.38; 'perhaps': 0.39; 'to:addr:python.org': 0.39; 'forward': 0.62; 'received:websitewelcome.com': 0.65; 'here': 0.66; 'received:184': 0.67; 'dealing': 0.69; '3.3': 0.84; 'received:gateway14.websitewelcome.com': 0.84; 'subject:skip:o 10': 0.84; 'going?': 0.93
Date Tue, 19 Jul 2011 07:22:44 -0700
From Ethan Furman <ethan@stoneleaf.us>
User-Agent Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version 1.0
To python-list@python.org
Subject Re: os.path.isdir do not work for Foder named '2011-07-03'
References <0bf400a3-735c-487a-8d74-feb3b56be99b@g5g2000prn.googlegroups.com> <4e250b31$0$30001$c3e8da3$5496439d@news.astraweb.com> <mailman.1240.1311057034.1164.python-list@python.org> <4e2531c1$0$29971$c3e8da3$5496439d@news.astraweb.com>
In-Reply-To <4e2531c1$0$29971$c3e8da3$5496439d@news.astraweb.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-AntiAbuse This header was added to track abuse, please include it with any abuse report
X-AntiAbuse Primary Hostname - gator410.hostgator.com
X-AntiAbuse Original Domain - python.org
X-AntiAbuse Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse Sender Address Domain - stoneleaf.us
X-BWhitelist no
X-Source
X-Source-Args
X-Source-Dir
X-Source-Sender c-67-170-168-84.hsd1.or.comcast.net ([192.168.74.5]) [67.170.168.84]:3409
X-Source-Auth ethan+stoneleaf.us
X-Email-Count 1
X-Source-Cap dG9idWs7dG9idWs7Z2F0b3I0MTAuaG9zdGdhdG9yLmNvbQ==
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1254.1311085427.1164.python-list@python.org> (permalink)
Lines 20
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1311085427 news.xs4all.nl 23957 [2001:888:2000:d::a6]:40319
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:9885

Show key headers only | View raw


Steven D'Aprano wrote:
> Thomas Jollans wrote:
>> The "correct" solution in many cases is to not assume any particular
>> path separator at all, and use os.path.join when dealing with paths.
>> This will work even on systems that do not accept forward slashes as
>> path separators. (does Python still support any of those?)
> 
> Yes, but only just. Python still includes support for VMS, at least for now;
> support is scheduled to be dropped in 3.3 and code supporting it to be
> removed in 3.4.

Perhaps I misremember, but I thought somebody had stepped forward to 
keep OpenVMS support going?

...

Ah, here it is -- Sandeep Mathew, in thread 'Python Support on OpenVMS' 
on python-dev.

~Ethan~

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

os.path.isdir do not work for Foder named '2011-07-03' Nulpum <changjun.cho@gmail.com> - 2011-07-18 21:25 -0700
  Re: os.path.isdir do not work for Foder named '2011-07-03' Kushal Das <kushaldas@gmail.com> - 2011-07-19 10:11 +0530
  Re: os.path.isdir do not work for Foder named '2011-07-03' Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-07-19 14:42 +1000
    Re: os.path.isdir do not work for Foder named '2011-07-03' Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-07-19 08:15 +0200
      Re: os.path.isdir do not work for Foder named '2011-07-03' Changjun <changjun.cho@gmail.com> - 2011-07-19 01:25 -0700
      Re: os.path.isdir do not work for Foder named '2011-07-03' Terry Reedy <tjreedy@udel.edu> - 2011-07-19 13:51 -0400
    Re: os.path.isdir do not work for Foder named '2011-07-03' Thomas Jollans <t@jollybox.de> - 2011-07-19 08:30 +0200
      Re: os.path.isdir do not work for Foder named '2011-07-03' Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-07-19 17:26 +1000
        Re: os.path.isdir do not work for Foder named '2011-07-03' Ethan Furman <ethan@stoneleaf.us> - 2011-07-19 07:22 -0700
    Re: os.path.isdir do not work for Foder named '2011-07-03' Nulpum <changjun.cho@gmail.com> - 2011-07-19 00:21 -0700
  Re: os.path.isdir do not work for Foder named '2011-07-03' Michael Hrivnak <mhrivnak@hrivnak.org> - 2011-07-19 00:42 -0400
  Re: os.path.isdir do not work for Foder named '2011-07-03' Rob Williscroft <rtw@rtw.me.uk> - 2011-07-19 04:56 +0000
  Re: os.path.isdir do not work for Foder named '2011-07-03' Grant Edwards <invalid@invalid.invalid> - 2011-07-19 14:21 +0000

csiph-web