PEP 8 -- Should I learn it now

I was going through the above lesson and separating and indenting separate attributes/methods to a new line was quickly gone over. I get it that it’s to make the code easier to read, but is this from the PEP 8 style guide?

Also, this guide is huge in terms of guidelines etc, how should I go about learning it. I kind of feel like I should learn it now early in my coding journey instead of creating bad habits and trying to break them later. What’s the best way to learn it?


Use Linting tools like autopep8 from nbextensions in jupyter notebook. Reading the PEP outside the context of looking at your code is easy to forget.
Or do everything here once

1 Like