Python
You might say
What's the language everyone recommends for automating spreadsheets and files with a script?
A programming language often used to automate work on a computer or serverA Python script can read three Markdown notes and write their titles into
summary.csv. It runs on a local machine or server; an ordinary web page does not execute a local Python script by itself.Know first
Py
Turn three notes into one summary file
notes▤ product-plan.md▤ user-interviews.md▤ launch-checklist.md
summarize.py
1
for file in Path("notes").glob("*.md"):2
title = file.read_text().splitlines()[0]3
rows.append([file.name, title])4
write_csv("summary.csv", rows)Terminal
$ python summarize.py Waiting to run…
How a script organizes several files
Choose the files: The script finds the .md files and reads their text.
Apply one rule: For example, it can use the first line of each note as a title.
Write the result: It creates summary.csv on the machine or server that ran it.
You can say this to an AI Agent
List the exact paths the Python script will read and write and overwrite no Markdown by default. Trial it on three copied files, show the resulting CSV and error report, and wait for confirmation before processing the full directory.
Learn next
Recommended tool
Web fine-tuning tool · Selector Pro
Select page elements for precise AI edits
Click a button, text, or card, note the change, then copy its exact location to AI.
Open Selector Pro website↗Further reading
Quick check