File tests in Python
Aahz Maruch
aahz at panix.com
Fri Oct 13 14:12:00 EDT 2000
In article <k0n66mw7hne.fsf at dhcp-49138.phys.ntnu.no>,
Joakim Hove <hove at phys.ntnu.no> wrote:
>
>How would I do this and related (is a directory/symbolic
>link/binary/..) tests in Python?
Check the module os.path; it contains functions such as os.path.isfile().
--
--- Aahz (Copyright 2000 by aahz at pobox.com)
Androgynous poly kinky vanilla queer het <*> http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6
"Isn't it interesting that the same people who laugh at science fiction
listen to weather forecasts and economists?" -- Kelvin Throop III
More information about the Python-list
mailing list