Super helpful list especially helping remind more experienced hands that your favourite approach is not necessarily the latest or preferred approach. Especially look forward to playing with f-strings when we do our Python 3 upgrade. Just one typo - in the last code block "import cProfile" is included in the comment rather than on it's own line.
I teach computer science to undergrads and write for The Renegade Coder. I'm most likely taking care of my daughter, watching the Penguins, or reading manga.
Location
Columbus, Ohio
Education
B.S. in CE from CWRU 2016; M.S. in CSE from OSU 2020; PhD in EED from OSU 2024
Thanks for the heads up, Richard! When I ported this over using RSS, the code blocks were imported as a single line, so I had to manually reformat them. I wouldn't be surprised if there were more artifacts like that.
Also, great call on the f-strings. I've been addicted to them for a little while now! Very convenient.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Super helpful list especially helping remind more experienced hands that your favourite approach is not necessarily the latest or preferred approach. Especially look forward to playing with f-strings when we do our Python 3 upgrade. Just one typo - in the last code block "import cProfile" is included in the comment rather than on it's own line.
Thanks again Jeremy!
Thanks for the heads up, Richard! When I ported this over using RSS, the code blocks were imported as a single line, so I had to manually reformat them. I wouldn't be surprised if there were more artifacts like that.
Also, great call on the f-strings. I've been addicted to them for a little while now! Very convenient.