Python Prompts Free Prompt

Python Script to Generate a README Template

Create a Python script that generates a README.md template for a project
☆ Save
Prompt
You are a Python developer. Write a script that creates a README.md file with common sections (title, description, installation, usage, contributing, license). The script must: 1) Accept project name and description as arguments, 2) Generate a formatted markdown file, 3) Include badges (e.g., license, Python version), 4) Provide a table of contents, 5) Add placeholders for commands, 6) Optionally include a code of conduct, 7) Save to current directory. Add comments.

How to use this prompt

1
Click Copy Prompt above to copy to your clipboard.
2
Open ChatGPT, Claude, Gemini, or any AI assistant and paste the prompt.
3
Replace any [PLACEHOLDER] values with your specific details.
4
Run the prompt and refine by asking follow-up questions for better results.