Python Prompts Free Prompt

Python Script to Monitor Reddit for Keywords

Create a Python script that monitors Reddit for new posts containing specific keywords using PRAW
☆ Save
Prompt
You are a Python developer. Write a script that uses PRAW to stream new Reddit posts and filter by keywords. The script must: 1) Accept subreddits and keywords, 2) Stream live posts, 3) Store matching posts (title, url, author, timestamp) in CSV, 4) Send email alerts for matches, 5) Handle rate limits, 6) Log activity, 7) Provide a simple dashboard (optional). 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.