🎵 The PEP 8 Song 🎵

A songification of that most holiest of Python Enhancement Proposals, the PEP 8. Based on an idea by Daniel “Mr. Hemlock“ Brown. Written and performed by Leon Sandøy, . lemonsaurus. Music and melody from Mad World by Roland Orzabal. This version was inspired by the version released by Gary Jules. 🌎 Website: ​ 💬 Discord: ​ 💸 Patreon: You can find the full PEP8 specification at You can find lemonsaurus at Lyrics: You don’t need any curly braces just four spaces just four spaces Wildcard imports should be avoided in most cases in most cases Try to make sure there’s no trailing whitespace it’s confusing it’s confusing Trailing commas go behind list items git blame tightens git blame tightens And comments are important as long as they’re maintained when comments are misleading it will drive people insane just try to be empathic just try to be a friend it’s really not that hard, just to adhere to PEP 8 PEP 8 Constants should be named all capital letters and live forever live forever And camelCase is not for Python never ever never ever And never use a bare exception be specific be specific No one likes the horizontal scrollbar keep it succinct keep it succinct And comments are important as long as they’re maintained when comments are misleading it will drive people insane just try to be empathic just try to be a friend it’s really not that hard just to adhere to PEP8 PEP8 PEP8 PEP8
Back to Top