11 lines
290 B
Python
11 lines
290 B
Python
|
|
import os
|
||
|
|
import sys
|
||
|
|
from ctypes import cdll
|
||
|
|
|
||
|
|
# 查找 pyexpat.pyd 的位置
|
||
|
|
import xml.parsers.expat
|
||
|
|
print(xml.parsers.expat.__file__)
|
||
|
|
|
||
|
|
# 使用 Dependency Walker 或 dumpbin 检查
|
||
|
|
# 在命令行中运行:
|
||
|
|
# dumpbin /dependents C:\Users\HL\.conda\envs\WQ10\Lib\site-packages\pyexpat.pyd
|