Skip to content

Comment on Python from scratch- RegEx

Comments

PEP8 recommends 4 spaces for indentation. At least you should try to make it consistent.

Somehow it looks easier and clearer to use TAB over Spaces. Now that you linked me PEP8 (First time i see it) i will start using 4 spaces. Thanks for your comment

You're welcome. There's a pep8 package on PyPI that implements validation against that recommandation and plugins for most popular editors that make it easy to check your code. Editors can also be configured so that pressing the tab key actually inserts 4 spaces.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.