Python doesn't see the directories I create
Bruno Desthuilliers
bdesth.quelquechose at free.quelquepart.fr
Thu Aug 30 06:56:19 EDT 2007
Marc 'BlackJack' Rintsch a écrit :
> 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
>
> :-)
Ok, I get it, you guys are trying to make me mad !-)
More information about the Python-list
mailing list