import pyodbc print("系统中可用的ODBC驱动程序:") for driver in pyodbc.drivers(): if "Access" in driver or "Excel" in driver: print(f" {driver}")