~/talk

Python Improvements (or This Is Not Your Teacher's Python)

Talkat PyOhio 2019 · 2019-07-27..07-28· [python]
links:none on file
slides:none on file

Covers concrete Python 3.6–3.7 changes: literal f-strings for inline formatting, numeric literals like 1_000_000_000 and formatting with underscores, nanosecond timing APIs, dicts that preserve insertion order, and pathlib replacing os.path joins. Security tools include the secrets module (choice, token_hex) and new hashes like SHA‑3 plus scrypt for slow salts. Language utilities: dataclasses that auto-generate init/eq/repr, namedtuple defaults and replace, and optional static typing with tools like monkeytype.

AI-written summary · about

  1. 0:00Introduction
  2. 2:23Python versions
  3. 3:03Enumeration ignore
  4. 3:55Speeddating
  5. 4:33Folding Dates
  6. 5:17Time in Nanoseconds
  7. 5:47Fstrings
  8. 8:44Underscores
  9. 9:42Dictionaries
  10. 10:47Sorting keys
  11. 11:37Async IO
  12. 12:30ASCII
  13. 13:10Path Libraries
  14. 14:15Cryptographic Library
  15. 17:17Blowfish
  16. 19:06Secrets
  17. 20:52Data Classes
  18. 24:22Walk vs Scan
  19. 26:02Type
  20. 29:41Type Libraries
  21. 32:27Type Tools
  22. 33:05Named tuples
  23. 35:02Defaults
  24. 36:14Bad Assignment
  25. 38:12Name tuple class
  26. 38:45Add function to tuple
  27. 39:17Add cooking time
  28. 39:34Name error
  29. 40:12Bufflehead
  30. 41:10Questions
~/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.