Quick question: recursive touch?

Preston Landers prestonlanders at my-deja.com
Tue Oct 5 13:44:58 EDT 1999


Anyone know of a function equilivent in concept to a 'recursive
touch?'

Where if I say:

touch foo/bar/baz.txt

If the directories foo and bar don't exist, create them, then create
baz.txt inside of bar.

An equivilent unix command would suffice.

thanks,

---Preston

--
|| Preston Landers <prestonlanders at my-deja.com> ||


Sent via Deja.com http://www.deja.com/
Before you buy.




More information about the Python-list mailing list