名称' win32'未定义
我正在研究Python,我想将数据从SQL Server导出到Excel,我已经从命令提示符中安装并升级了PYWIN32,但我一次又一次地遇到了相同的错误。 有不同的解决方案吗? 这是我的代码和我的错误。
I am working on python and I would like to export data from sql server to excel, I’ve installed and upgraded the pywin32 from command prompt but I took the same error again and again.
Is there any different solution?
Here is my code and my error.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在“导入语句”中使用:
导入win32com.client as win32'as
win32'定义了使用该软件包的名称
in the import statement use:
import win32com.client as win32
'as win32' define the name to use the package