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


Groups > comp.lang.python > #7785

Re: os.path and Path

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.011
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'think,': 0.05; 'linux.': 0.09; 'am,': 0.14; 'received:209.85.214.174': 0.14; 'received :mail-iw0-f174.google.com': 0.14; 'wrote:': 0.14; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'handy': 0.16; 'naming': 0.16; 'see.': 0.16; 'solution.': 0.19; 'header:In-Reply-To:1': 0.21; 'fri,': 0.23; 'windows': 0.26; 'message-id:@mail.gmail.com': 0.28; 'received:209.85.214': 0.28; 'to:addr:python-list': 0.33; 'on,': 0.33; '17,': 0.35; 'quite': 0.36; 'rules': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.37; 'but': 0.38; 'creates': 0.38; 'subject:: ': 0.38; 'called': 0.39; 'received:209': 0.39; 'christian': 0.39; 'to:addr:python.org': 0.39; 'become': 0.72; 'wine': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=pP21WR53gkeVV8YhkYrQYoF+DVxcGDhEsO2vICvXQL8=; b=XRTWV1ROWxIgOz57JX6Ou6Hg2FOfJKPoJSbwhrET/4abIEyZp5lOEr8vVLMkpuislR bGALWyF38fhkClUNdJMIDJnDy0qXcHDzDmmxASOuN5Dv+7t2wZNPioG0jcWHjlVNda4x KeUPMnasNWWpDk/V0OEwdSWOYNzvQDJ/vg6Po=
DomainKey-Signature a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=TbmAvcjKyx9+Q6Nt5JpgT3jq5hj/64e8kwAP6X5s4miVYRANSbyUcB/pTUg0fwUEQT WZHzEzXIXvbAc47TUkx74g4lHxGoeRedtp3pYRvYGAIC4dF4kUa9sAbsH1jPk0At5p7i avoU2lOzKXRMA4XUcmRBbkZiLLMwLvgt77Meg=
MIME-Version 1.0
In-Reply-To <itdb64$d9$1@dough.gmane.org>
References <mailman.8.1308188800.1164.python-list@python.org> <4DF9AADE.6090609@gmail.com> <4df9b7be$0$29973$c3e8da3$5496439d@news.astraweb.com> <4DFA2C56.2060909@stoneleaf.us> <itdb64$d9$1@dough.gmane.org>
Date Fri, 17 Jun 2011 11:00:57 +1000
Subject Re: os.path and Path
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
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.52.1308272461.1164.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 82.94.164.166
X-Trace 1308272462 news.xs4all.nl 49048 [::ffff:82.94.164.166]:38559
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:7785

Show key headers only | View raw


On Fri, Jun 17, 2011 at 2:32 AM, Christian Heimes <lists@cheimes.de> wrote:
> "c:d" is a valid directory name on Linux. :]
>

The different naming rules come in handy now and then. Wine creates
directories (symlinks, I think, but same diff) called "c:" and "d:"
and so on, which then become the drives that Windows programs see.
It's quite a clean solution.

ChrisA

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


Thread

os.path and Path Ethan Furman <ethan@stoneleaf.us> - 2011-06-15 19:00 -0700
  Re: os.path and Path Laurent Claessens <moky.math@gmail.com> - 2011-06-16 09:03 +0200
    Re: os.path and Path Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-06-16 07:58 +0000
      Re: os.path and Path Ethan Furman <ethan@stoneleaf.us> - 2011-06-16 09:16 -0700
        Re: os.path and Path Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-06-16 16:41 +0000
          Re: os.path and Path Ethan Furman <ethan@stoneleaf.us> - 2011-06-16 10:18 -0700
          Re: os.path and Path Eric Snow <ericsnowcurrently@gmail.com> - 2011-06-16 11:21 -0600
      Re: os.path and Path Christian Heimes <lists@cheimes.de> - 2011-06-16 18:32 +0200
      Re: os.path and Path Ethan Furman <ethan@stoneleaf.us> - 2011-06-16 10:07 -0700
      Re: os.path and Path Chris Angelico <rosuav@gmail.com> - 2011-06-17 11:00 +1000
  Re: os.path and Path Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-06-16 07:14 +0000
    Re: os.path and Path Ethan Furman <ethan@stoneleaf.us> - 2011-06-16 09:05 -0700
      Re: os.path and Path Chris Torek <nospam@torek.net> - 2011-06-17 00:48 +0000
        Re: os.path and Path Ethan Furman <ethan@stoneleaf.us> - 2011-06-16 18:19 -0700
        Re: os.path and Path Ned Deily <nad@acm.org> - 2011-06-16 19:55 -0700
          Re: os.path and Path rusi <rustompmody@gmail.com> - 2011-06-16 21:24 -0700

csiph-web