If you are about to ask a "how do I do this in python" question, please try r/learnpython, the Python discord, or the #python IRC channel on

Which PEPs are a must to read? : Python

submited by
Style Pass
2021-07-11 04:00:05

If you are about to ask a "how do I do this in python" question, please try r/learnpython, the Python discord, or the #python IRC channel on Libera.chat.

Asking the experts here about their views on PEPs. Which PEPs do you recommend reading for anyone who is writing code in python and wants to get better at it.

The ones I seem to end up directing colleagues to read most often are PEP 513 (the one introducing the manylinux1 build tag - which also explains as background reading what the pitfalls of binary compatibility are on Linux), and PEP 3333 (the one describing WSGI, which helps understand how (synchronous) web apps and web servers integrate).

However, know when to be inconsistent -- sometimes style guide recommendations just aren't applicable. When in doubt, use your best judgment. Look at other examples and decide what looks best. And don't hesitate to ask!

Don't take it too literally. It's like when you tell new people to not ever use global variables and then you go and use a global variable.

Leave a Comment