Python doesn't see the directories I create

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Thu Aug 30 08:39:27 EDT 2007


On Thu, 30 Aug 2007 07:28:52 -0400, Steve Holden wrote:

> Bruno Desthuilliers wrote:
>> Steve Holden a écrit :
>> Indeed. But I doubt a path starting with 'C:' will work fine on a 
>> unix-like environment anyway !-)
> 
> Just to be contrarian:
> 
> sholden at bigboy ~/Projects/python.org/build
> $ ls C:/Steve/
> Apache                          SANSsecurityOverview.pdf
> Apache2                         SQLServer.txt
>      ...
> Resume.odt                      todo.txt
> Resume.pdf                      untitled-1.py
> 
> sholden at bigboy ~/Projects/python.org/build
> 
> That's Cygwin, of course. Is that sufficiently "unix-like"? Though I 
> have to admit that the different utilities all take different approaches 
> to the use of Windows paths, and some just won't take them at all.

Even on Unix it shouldn't be a problem on most file systems to create a
directory named 'C:'

bj at s8n:~$ mkdir C:
bj at s8n:~$ touch C:/test.txt
bj at s8n:~$ ls -l C:
total 0
-rw-r--r-- 1 bj bj 0 2007-08-30 14:38 test.txt

:-)

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list