Quick question: recursive touch?

Blake Winton bwinton at tor.dhs.org
Tue Oct 5 17:21:28 EDT 1999


On Tue, 05 Oct 1999 20:51:25 GMT, Preston Landers wrote:
>In article <7tdie6$cq1 at dfw-ixnews5.ix.netcom.com>,
>  aahz at netcom.com (Aahz Maruch) wrote:
>
>> I haven't really looked at your code, but I needed to mention that
>> 'open(file,"w")' will cause the file to become zero bytes long.
>
>Isn't that what touch does?

Nope.  touch only changes the time if the file already exists...

Later,
Blake.

-- 
One Will.  One Dream.  One Truth.  One Destiny.  One Love.




More information about the Python-list mailing list