Unicode to DOS filenames (to call FSUM.exe)

2006-05-15 Thread Christian Stooker
Hi ! Yesterday I got a very interesting bug. I don't understand, why I got it, because I thinking about this function: that is safe. But I was not. The code: import sys,os UFN=u'%s\\xA\xff'%os.getcwd() if os.path.exists(UFN): os.remove(UFN) f=open(UFN,'w') f.write('%s\n'%('='*80)) f.close

SQLite (with APSW) and transaction separate

2006-04-19 Thread Christian Stooker
Part one: == Hi ! I want to use SQLite database like the FireBird database: with big isolation level. What's that meaning ? I have an application that periodically check some input directory, process the elements in it, and copy them into a global database. It is like a daemon, working in th