[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Testing if a File Exists



Hi,
Exactly what it sounds like.  Using pygame.image.load("[file]") will return an error if the file doesn't exist.  How do you test if it exists without actually loading it, and without crashing?  Thanks.
Ian