Hacker News new | ask | show | jobs
by cutler 1492 days ago
Examples? I don't recognise anything Perlish in Python. Ruby, yes, but not Python.
3 comments

Use the debugger: `python -mpdb` is a very similar experience to `perl -d`, so much so that it feels like a gift from an earlier perl-to-python emigrant.

(I showed my co-workers `perl -d`, they later discovered and showed me `python -mpdb`)

I don't really see it either, but maybe a few things like collections.defaultdict (like Perl's normal associative arrays) and sysconfig (very similar to "use Config;").
f-strings are quite perlish IMV.