file test operator

Xiangdong Pan xd_pan at
Sun Aug 11 01:04:01 CEST 2002


I'm wondering whether python has build-in file test operators, such as
-x for file is executable or -e for file exists or some similar
functions, like perl does. If not, how could I perform these kinds of

Thanks for help.


More information about the Python-list mailing list