Release MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags
If you only want to test the existence of the file, why don't you use:
Code:
count = MPDB.RequestWithBinds("select count(*) from files where strFilename = ? and strPath = ? ", (os.path.basename(VarWithFullPathToPicture ), os.path.dirname(VarWithFullPathToPicture ) ) )[0][0]
os.path.basename gives the filename and os.path.dirname the complete path without the filename.
No log no help.
Main page: https://github.com/Xycl
Repository: Xycl Repository Leia
Repository: Xycl Repository Matrix
Reply


Messages In This Thread
Beta Testers needed - by Xycl - 2012-11-06, 12:14
RE: [RELEASE] MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags - by Xycl - 2013-03-17, 21:03
Filter / TAG Question ? - by knutklo - 2015-04-07, 16:38
Logout Mark Read Team Forum Stats Members Help
MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags1