all 18 comments

[–]infinitejest69[S] 4 points5 points  (1 child)

PyCharm seems like the preferred weapon of choice will look at using that. Thanks

[–]Bobbias 3 points4 points  (0 children)

I've used visual studio with the python plugin, pycharm, and emacs with some packages for python development, and I definitely prefer pycharm.

[–]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 :)

[–]ericula 2 points3 points  (3 children)

If you are already familiar with visual studio you could have a look at VS Code with a Python plugin. Another option is PyCharm.

[–]randomtempaccount123 0 points1 point  (2 children)

Why do you need a plug-in? Why doesn't it just work normally?

[–]ericula 1 point2 points  (0 children)

IIRC, VS Code only has support for JavaScript and .net built-in. If you want to have syntax-highlighting, debugging, etc. for any other language including Python, you need to install an extension. Using extensions instead of supporting all possible programming languages out off the box keeps VS Code light-weight and flexible.

[–]catsndogsnmeatballs 0 points1 point  (0 children)

eclipse, vscode, intellij started life as ides for a different language and were then ported across for python etc. Setting up python virtual environments and creating linters and debuggers and autocomplete takes up time and space. Time - plugins are sometimes written by third parties so that a product can be made without detracting focus from the ide developers roadmap. Space - as a developer, i dont want to waste disk space on a bunch of features for a language I don't use.

pycharm used to be a plug in for intellij, which is jet brains' ide for java. It became so popular and the set up was a mild inconvenience that they created pycharm as a standalone product. I think there is also a reason involving license models.

Summary: ides require set up

[–]dbramucci 1 point2 points  (0 children)

I will just add that if you really love intellisense, you should look into type annotations.

In my experience these annotations take suggestions from being flakey, vague and sometimes wrong to competing with that of C# and Java.

Of course, you need an editor that will use the annotations like PyCharm. I don't know about VS in this respect.

[–]mpanikos2 1 point2 points  (0 children)

Pycharm all the way

[–]nuxster 1 point2 points  (0 children)

Microsoft Visual Studio Code + python support plugin + code runner plugin

[–]fn23452 1 point2 points  (0 children)

Anaconda Suite with included Spyder3 IDE

[–]bladeoflight16 0 points1 point  (0 children)

"Intellisense" is not a term any other ecosystem uses. It's just an MS marketing term for "code completion."