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
This commit is contained in:
32
create_test_word.py
Normal file
32
create_test_word.py
Normal file
@@ -0,0 +1,32 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""Create test Word document"""
|
||||
|
||||
from docx import Document
|
||||
|
||||
# Create a new document
|
||||
doc = Document()
|
||||
|
||||
# Add heading
|
||||
doc.add_heading('Test Document for Office File Handler', 0)
|
||||
|
||||
# Add paragraphs
|
||||
doc.add_paragraph('This is a test document created to verify the office-file-handler skill functionality.')
|
||||
|
||||
doc.add_paragraph('The skill supports various operations:')
|
||||
|
||||
doc.add_heading('Features', level=1)
|
||||
|
||||
# Add bullet points
|
||||
doc.add_paragraph('• Read Word documents', style='List Bullet')
|
||||
doc.add_paragraph('• Extract text content', style='List Bullet')
|
||||
doc.add_paragraph('• Support multiple file formats', style='List Bullet')
|
||||
|
||||
doc.add_heading('Testing Information', level=2)
|
||||
doc.add_paragraph('Document created for testing purposes.')
|
||||
doc.add_paragraph('Date: 2026-03-05')
|
||||
doc.add_paragraph('Purpose: Verify Python 3.14.2 integration with office-file-handler skill')
|
||||
|
||||
# Save document
|
||||
output_file = 'test_word_document.docx'
|
||||
doc.save(output_file)
|
||||
print(f"Created {output_file} successfully!")
|
||||
Reference in New Issue
Block a user