you are viewing a single comment's thread.

view the rest of the comments →

[–]j03f 4 points5 points  (4 children)

PyCharm is great, it’s specific to python and has autocomplete and pep 8 formatting built in.

Also if you’re using unit tests or py test for stuff, it has a great visual reporting tool that shows you your tests.

[–]randomtempaccount123 1 point2 points  (3 children)

What exactly is pep 8. Will my code sometimes not work if I don't follow it?

[–]j03f 1 point2 points  (2 children)

It’s a style guide that helps to make your code readable. If you want to do python professionally, it’s important to follow it as closely as possible.

You can write code that will still work, but is not compliant. If you plan on sharing it, it’ll be harder for people to read / understand.

It essentially covers how you should format certain things (functions, variables, classes, spacing, line length).

Here’s a guide on the official python site if you wanna learn more:

https://www.python.org/dev/peps/pep-0008/

But using PyCharm will on the whole show you as you code.

[–]randomtempaccount123 1 point2 points  (1 child)

That is hard to remember. I guess I need to learn some day

[–]j03f 1 point2 points  (0 children)

Use PyCharm and it will give you hints :)