Useful scripts, untangled.

Practical Python, VBA and R for data, analytics and automation. Every script starts with a real problem, then gets annotated block by block, simplified, and extended with variations you can drop in.

Browse all scripts Browse by tag

How each script is written up

  1. ProblemWhat you're trying to do, in plain words.
  2. ScriptComplete, tested, copy or download.
  3. How it worksEach block explained.
  4. VariationsTweaks and add-ons for your case.

Latest scripts

By language