Zawap
Промптcode

Hardened OpenXML Document Generator (XLSX, DOCX) in Python

Production prompt for generating clean, validated OpenXML spreadsheets and reports without container corruptions or malformed XML entities.

{}3 переменные•Бесплатно•Автор: ALeeXSD
Шаблон промпта
1
2
3
4
5
6
7
8
9
10
Generate a production-grade Python script to construct a {{document_type}} report. **Payload Data:** {{data_payload}} **Styling Requirements:** {{styling_rules}} **Core Implementation Rules:** 1. Utilize reliable libraries (`openpyxl` for spreadsheets, `python-docx` for documents). 2. Enforce strict XML character escaping (`&`, `<`, `>`, `"`, `'`) across all dynamic fields. 3. Assign native cell format numbers (currencies, timestamps, percentages) rather than raw string representations. 4…

Скопируйте шаблон, подставьте свои данные и вставьте промпт в выбранный ИИ-сервис.

Комментарии · 0

Пока ничего нет

Войдите, чтобы участвовать