~/talk

Solve Your Problem With Sloppy Python

Talkat PyCon 2018 · on Saturday, 2018-05-12· [developer-experience]
links:none on file
slides:none on file

Shows concrete hacks and code: a mass rename deep dive that uses hard links and string.partition to fix 60 filenames, a replace/enumerate trick to inject spaces, and a switch from os.system to subprocess.run check=True. Demonstrates real scripts that work — provision that installs 140+ packages, Dcamp for Bandcamp/CD Baby zips using taglib, and custom metadata parsers — with examples, commands, and gotchas, so expect runnable recipes rather than theory.

AI-written summary · about

  1. 0:00Intro
  2. 1:47First Fail
  3. 3:33Guidelines
  4. 5:09The Problem
  5. 6:39Hardlinks
  6. 7:56Creating Hardlinks
  7. 8:44Making a Backup
  8. 12:47Elegant API
  9. 15:28Replace
  10. 16:25Provision
  11. 17:08Install
  12. 20:22Problem
  13. 21:23Scripts
  14. 21:46DCamp
  15. 22:43OldTime Radio
  16. 24:53Fix Metadata
  17. 25:10Fail Early Often
  18. 26:09Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.