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'

Date 2011-07-19 07:22 -0700
From Ethan Furman <ethan@stoneleaf.us>
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>
Newsgroups comp.lang.python
Message-ID <mailman.1254.1311085427.1164.python-list@python.org> (permalink)

Show all headers | 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