top of page

Python in Excel (xlwings Lite) with Natural Language Instructions.

Dictate logic โ†’ AI codes. My Workflow for AI Code Generation.


๐—ช๐—ต๐—ฎ๐˜ ๐—œ ๐—ฐ๐—ผ๐˜ƒ๐—ฒ๐—ฟ

1. xlwings Lite - quick start

2. Robust workflow - top 5 Rules


๐—ฅ๐—ฒ๐˜€๐˜‚๐—น๐˜๐˜€ ๐—บ๐—ฎ๐˜๐˜๐—ฒ๐—ฟ - ๐—ฐ๐—ผ๐—ฑ๐—ฒ ๐—ถ๐˜€ ๐—ถ๐—ป๐—ฐ๐—ถ๐—ฑ๐—ฒ๐—ป๐˜๐—ฎ๐—น

โ–ช๏ธWhat doesnโ€™t matter: The perfect python code

โ–ช๏ธWhat matters: Delivering incremental impact without fatal errors.


๐—ช๐—ต๐—ฎ๐˜ ๐—ฑ๐—ผ๐—ฒ๐˜€ ๐—ป๐—ผ๐˜ ๐˜„๐—ผ๐—ฟ๐—ธ

Some one-shot, in-the-cloud prompt. Thatโ€™s demo theatre. Fine for concept demo - they don't work on live projects.


๐—ช๐—ต๐—ฎ๐˜ ๐˜„๐—ผ๐—ฟ๐—ธ๐˜€ - ๐— ๐˜† ๐Ÿฑ ๐—ต๐—ฎ๐—ฟ๐—ฑ ๐—ฟ๐˜‚๐—น๐—ฒ๐˜€

๐Ÿญ. ๐—•๐—ฒ ๐˜€๐—ฝ๐—ฒ๐—ฐ๐—ถ๐—ณ๐—ถ๐—ฐ: High level gyan does not work

๐Ÿฎ. ๐—œ๐˜๐—ฒ๐—ฟ๐—ฎ๐˜๐—ฒ: One step at a time. Validate. Debug. It is tedious. At times frustrating.

๐Ÿฏ. ๐—ฅ๐—ฒ๐˜ƒ๐—ถ๐—ฒ๐˜„: Demand plan + pseudocode from AI. Scan code if you can.

๐Ÿฐ. ๐—ฉ๐—ฎ๐—น๐—ถ๐—ฑ๐—ฎ๐˜๐—ฒ: Sacrosanct. An engineer doesn't 'quick scan' a plane before takeoff. Same principle.

๐Ÿฑ. ๐—”๐—œ ๐—”๐˜‚๐—ฑ๐—ถ๐˜: Final pass. Feed AI complete code in new session. It will still catch misses.


๐—ง๐—ผ๐—ผ๐—น๐˜€ - ๐—”๐—œ ๐—–๐—ผ๐—ฑ๐—ฒ๐—ฟ๐˜€

๐—š๐—ฒ๐—บ๐—ถ๐—ป๐—ถ ๐Ÿฎ.๐Ÿฑ ๐—ฃ๐—ฟ๐—ผ โ†’ my top pick. Huge free tier. 1M context. aistudio.google.com

ChatGPT โ†’ context fills fast + 2.5 Pro better.

๐—–๐˜‚๐—ฟ๐˜€๐—ผ๐—ฟ + Claude Sonnet 4 โ†’ excellent. But they have tightened usage limits. I keep it for app builds.


๐—ง๐—ผ๐—ผ๐—น๐˜€ - ๐—ซ๐—น๐˜„๐—ถ๐—ป๐—ด๐˜€ ๐—Ÿ๐—ถ๐˜๐—ฒ ๐—”๐—œ ๐—–๐—ผ๐—ฑ๐—ฒ๐—ฟ ๐—œ๐—ป๐˜€๐˜๐—ฟ๐˜‚๐—ฐ๐˜๐—ถ๐—ผ๐—ป ๐—™๐—ถ๐—น๐—ฒ

My personal 1855-line AI Coder instruction set for xlwings Lite. I use it on every project. Shared on app site. Optional, but makes code gen efficient

๐——๐—ถ๐—ฐ๐˜๐—ฎ๐˜๐—ฒ - ๐—ฑ๐—ผ๐—ป'๐˜ ๐˜๐˜†๐—ฝ๐—ฒ

โ–ช๏ธWhat does not matter: your typing speed

โ–ช๏ธWhat matters: a robust workflow, expressing your requirements and business logic to AI, and validating results

โ–ช๏ธVoice - It's fast and frictionless. Use Windows preinstalled tool (Win+H) and Mac (Fn key twice)


๐—”๐—ฟ๐—ฒ ๐˜†๐—ผ๐˜‚ ๐—ฎ ๐—ž๐—ฎ๐—ฟ๐—ฝ๐—ฎ๐˜๐—ต๐˜†?

My first line of code in 1994. Last major 'manual coding' in 2022. I've executed projects with ML models, campaigns, and automations on Python/SAS with millions of dollars in tracked, signed-off impact. Now โ†’ AI-assisted. From automations to ML models. Faster. Better. Greater Impact


Unless youโ€™re an Andrej Karpathy or Przemyslaw Debiak, let AI Code for you


๐˜…๐—น๐˜„๐—ถ๐—ป๐—ด๐˜€ ๐—Ÿ๐—ถ๐˜๐—ฒ

โ–ช๏ธPart of my primary stack.

Beyond automations, build standalone apps connected to databases and custom backends

โ–ช๏ธOfficial site and docs: lite.xlwings.org

โ–ช๏ธCreated by Felix Zumstein.


๐— ๐—ฎ๐˜๐—ฒ๐—ฟ๐—ถ๐—ฎ๐—น๐˜€

Go to app.tigzig.com โ†’ xlwings Lite Practice Lab.

Guides, workbooks, apps, instruction file - all there.

Video - 12 Min: youtu.be/rHXte26r3BY

ย 
ย 

Recent Posts

See All
bottom of page