|
|
|
import pandas as pd
|
|
import os
|
|
|
|
file_path = "审批服务部门.xlsx"
|
|
if not os.path.exists(file_path):
|
|
print(f"File not found: {file_path}")
|
|
else:
|
|
try:
|
|
df = pd.read_excel(file_path)
|
|
print("Columns:", df.columns.tolist())
|
|
except Exception as e:
|
|
print(f"Error reading excel: {e}")
|