Xiuwen · @__icoder__
84 followers · 322 posts · Server sfba.social

: Finished reading chapter 3 "Pythonic Syntax and Common Pitfalls" in . The common pitfalls didn't surprise me as much now. Learned of the "walrus operator" and "switch statement". Installed , tried it on a couple of my python files, and fixed the issues to get a clean pass.

Going forward, I'll do these:

I. Use pycodestyle to scan my python files as I work on them;

II. Look for opportunities to use "walrus operator" and "switch statement".

#ProgressToday #masteringpython #pycodestyle #python

Last updated 2 years ago