Re: [sqlalchemy] Locked file when trying to copy

2010-08-18 Thread Jeroen Dierckx
Thanks a lot Lance, that did the trick. best regards, jeroen On Mon, Aug 16, 2010 at 10:18 PM, Lance Edgar wrote: > See > http://groups.google.com/group/sqlalchemy/browse_thread/thread/aa9c753384532e6c/8d070ff7208494b1 > > The solution though I believe is just: > > from sqlalchemy import create_

Re: [sqlalchemy] Locked file when trying to copy

2010-08-16 Thread Lance Edgar
See http://groups.google.com/group/sqlalchemy/browse_thread/thread/aa9c753384532e6c/8d070ff7208494b1 The solution though I believe is just: from sqlalchemy import create_engine from sqlalchemy.pool import NullPool to_engine = create_engine('sqlite:///%s' % temp_file_name, poolclass=NullPool)