~/talk

Introduce Syntax and History of Python from 2.4 to 3.6

Talkat PyCon APAC 2018 · 2018-05-31..06-02· [python]
links:none on file
slides:none on file

Covers concrete syntax and migration steps from Python 2.4 up through 3.6 and notes 3.7 features backported or upcoming, with code-level comparisons and refactoring advice. Highlights set and generator expressions, decorators, change to print function and division semantics, and adds f-strings for formatting, async/await for coroutines, and pathlib.Path plus os.scandir and secrets for file and security tasks. Recommends replacing percent formatting and old exception syntax, shows when changes are backward compatible and when to rewrite.

AI-written summary · about

  1. 0:00Start
  2. 4:31The history of Python by release date
  3. 13:34import () Multi-line Imports
  4. 16:36%s vs str.format vs f-string
  5. 19:44dict Comprehensions
  6. 20:35enum (Python 3.4 +)
  7. 22:17@ operator
  8. 24:23secrets module
  9. 24:49Data Classes
  10. 27:00os.listdir() vs pathlib
  11. 29:04Important changes in each version
~/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.