Message 1 of 2
Pyton Script: Check If File Exists In Folder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Can anybody help?
Is it possible, using a Python script, to check if a file exists in a particular folder?
Please see the attached picture.
For example:
Say I have a file, saved in the "Reference Parts" folder, called 12345
Can I use the search string 12345 to search the folder "Reference Parts" to see if the file exists, or not.
Return True if it exists or False if it does not.
Many thanks in advance!
Darren