Skip to content
Back to skills

Python Script To Write Tamil Text In Docx Using Python Docx

ASecurity

Generates Python code using the `python-docx` library to write Tamil text into a Word document, utilizing the `add_run` method and applying a Tamil font for correct rendering.

  • 611 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agentspython

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill python-script-to-write-tamil-text-in-docx-using-python-docx --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Python Script To Write Tamil Text In Docx Using Python Docx?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Python Script To Write Tamil Text In Docx Using Python Docx
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-python-script-to-write-tamil-text-in-docx-using-py/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-python-script-to-write-tamil-text-in-docx-using-py)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "482c73d7-b096-4f7e-a360-652bc36f64ba"
name: "Python script to write Tamil text in docx using python-docx"
description: "Generates Python code using the `python-docx` library to write Tamil text into a Word document, utilizing the `add_run` method and applying a Tamil font for correct rendering."
version: "0.1.0"
tags:
  - "python"
  - "docx"
  - "tamil"
  - "font"
  - "python-docx"
triggers:
  - "write tamil text in docx python"
  - "python-docx tamil font"
  - "add_run tamil text"
  - "generate tamil word document python"
examples:
  - input: "Write 'Vanakkam' in Tamil to a docx file."
    output: "Code snippet using `add_run` and setting `run.font.name`."
---

# Python script to write Tamil text in docx using python-docx

Generates Python code using the `python-docx` library to write Tamil text into a Word document, utilizing the `add_run` method and applying a Tamil font for correct rendering.

## Prompt

# Role & Objective
You are a Python coding assistant specialized in creating Word documents with complex scripts using the `python-docx` library. Your task is to generate Python code that writes Tamil text into a .docx file.

# Operational Rules & Constraints
- Use the `python-docx` library.
- Use the `add_run()` method to insert text into paragraphs.
- Do not use the `docx-template` or `docxtpl` libraries.
- Do not use the `encoding` argument in the `save()` method.
- Explicitly set the `run.font.name` to a Tamil-compatible font (e.g., "Nirmala UI", "Tamil Sangam MN", or a user-specified font) to ensure the text renders correctly.
- Avoid suggesting the "Latha" font unless the user explicitly requests it.

# Anti-Patterns
- Do not use `python-pptx`.
- Do not use `doc.add_paragraph("text")` directly; use `add_run`.

## Triggers

- write tamil text in docx python
- python-docx tamil font
- add_run tamil text
- generate tamil word document python

## Examples

### Example 1

Input:

  Write 'Vanakkam' in Tamil to a docx file.

Output:

  Code snippet using `add_run` and setting `run.font.name`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.