Re: [SQLObject] Re: MySQLConnection is deprecated
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Ian B. <ia...@co...> - 2004-11-15 16:47:54
|
Brian Beck wrote: > Ian Bicking <ianb <at> colorstudy.com> writes: > > >>>Maybe I'm wrong, but the URI format doesn't seem very win32 friendly. >> >>How so? Forward slashes can always replace backslashes for paths (and >>even that only applies to SQLite and Firebird, since the other databases >>don't use file paths anywhere). >> > > > On Win32 for SQLite, I can only use sqlite:/file.db or sqlite:///file.db, Right, because there's no server for SQLite, so there's no remote host possible. > AND > this creates the file in the ROOT directory of whatever drive the script is > running from, NOT the path of the script! This is highly undesirable. Hmm... unfortunately I can't think of any way of indicating the current directory in a fully qualified URI. Does anyone have ideas? sqlite:/:pwd:/file.db ? -- Ian Bicking / ia...@co... / http://blog.ianbicking.org |