Files
workspace/test_office_simple.py
aitest 15c4480db1 Add OpenClaw workspace configuration and tools
- Add agent configuration files (AGENTS.md, USER.md, IDENTITY.md, SOUL.md)
- Add git configuration and skills management scripts
- Add frontend/backend analysis tools and reports
- Add DingTalk media sender utilities and documentation
- Fix OpenClaw runtime environment (Node.js and Python)
- Configure git remotes and push scripts
2026-03-05 13:56:59 +09:00

26 lines
842 B
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Simple test for office-file-handler skill"""
import sys
import os
# Test Python script directly
python_exe = r"F:\pyenv\pyenv-win\pyenv-win\versions\3.14.2\python.exe"
script_path = r"C:\Users\ALC\.openclaw\skills\office-file-handler\scripts\python\read_excel.py"
print("Testing office-file-handler skill...")
print("Python: " + python_exe)
print("Script: " + script_path)
# Check if script exists
if os.path.exists(script_path):
print("[OK] Script exists")
with open(script_path, 'r', encoding='utf-8') as f:
content = f.read()
print("[OK] Script content loaded, " + str(len(content)) + " bytes")
else:
print("[ERROR] Script not found at " + script_path)
print("\nPlease create test files (test.xlsx, test.docx, test.pptx) to test the skill functionality.")