源代码下载网站(笔记!)

时间:2025-03-29 07:28:14
64bit的python及32bit的office2010情况下pywin32无法操作access的解决方法

BAKA2333: [code=python]import connection = ('') DSN = 'PROVIDER = .12.0;DATA SOURCE = C:\Users\BAKA\Documents\;' (DSN) print("cinnect...") [/code] 想问问我哪里写错了。。不知道为啥就一直在报错 C:\Users\BAKA\PycharmProjects\untitled\venv\Scripts\ C:/Users/BAKA/PycharmProjects/untitled/ File "C:/Users/BAKA/PycharmProjects/untitled/", line 4 DSN = 'PROVIDER = .12.0;DATA SOURCE = C:\Users\BAKA\Documents\;' ^ SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 52-53: truncated \UXXXXXXXX escape Process finished with exit code 1