New submission from jingtao chen: I tried the way like here https://www.sqlite.org/c3ref/open.html#urifilenamesinsqlite3open but it is useless
what I got is C:\Users\CJT-6220>python D:\NKUSearch\pr_cal\main.py Traceback (most recent call last): File "D:\NKUSearch\pr_cal\main.py", line 7, in <module> conn = sqlite3.Connection('file:///D:/NKU.db') sqlite3.OperationalError: unable to open database file and I tried some other ways to write the URI but none of them works and PEP 249 did not mention anything about absolute path . So what can I do ? ---------- components: Windows messages: 255581 nosy: jingtao chen, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: I cannot use absolute path in sqlite3 , python 2.7.9, windows type: behavior versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25763> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com