FileExists() in Python?
Owen F. Ransen
ransen_spam_me_not at nemo.it
Mon May 14 12:24:52 EDT 2001
On Sun, 13 May 2001 19:05:59 +0100, Tim Howarth
<tim at worthy.demon.co.uk> wrote:
>> What is the best style for writing a platform
>> independent FileExists function? Using exceptions?
>
>What's wrong with os.path.exists ?
>and/or
>os.path.isfile
>os.path.isdir
Nothing, now I know it exists!
--
Owen F. Ransen
http://www.ransen.com/
Home of Gliftic & Repligator Image Generators
More information about the Python-list
mailing list