DEV Community

Discussion on: 71 Python Code Snippets for Everyday Problems

Collapse
 
richardcochrane profile image
Richard Cochrane

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!

Collapse
 
renegadecoder94 profile image
Jeremy Grifski

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.