Quick question: recursive touch?
Moshe Zadka
moshez at math.huji.ac.il
Wed Oct 6 04:29:24 EDT 1999
On Tue, 5 Oct 1999, Jeff Bauer wrote:
> > path_elements = string.split(path, "/")[1:]
>
> You might consider using os.sep, rather than
> "/" slash as your path separator.
Or even better, use the functions in os.path. They know better.
Can you say:
c:\webserv/cgi-bin/script ?
(Have no doubt: I've seen these kind of paths on my NT box)
--
Moshe Zadka <mzadka at geocities.com>.
INTERNET: Learn what you know.
Share what you don't.
More information about the Python-list
mailing list