Zawap
Promptcode

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 variables•Free•Author: ALeeXSD
Prompt template
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…

Copy the template, add your details, and paste the prompt into your chosen AI service.

Comments · 0

Nothing here yet

Sign in to participate