DEV Community

Discussion on: C++ dev needs advice on Python best practices

Collapse
 
dennisfen profile image
Denis Borisevich

Thanks, Jason! I'll definitely look into PyLint.

Any advice on Python IDE? I mostly use vim in my C++ projects, though.

Collapse
 
codemouse92 profile image
Jason C. McDonald

It's really quite relative. There are so many good IDEs, but each is a little different. Here are a few to try out:

  • NINJA-IDE: My personal favorite Python IDE. However, it is temporarily incompatible with Ubuntu 17.04+, since they're still depending on Qt4 (which was DC'd on 17.04 onward). However, it works VERY well on any system that Qt4 can be installed on.

  • Atom: My current IDE. It supports many languages, Python being one of them. If you install the packages for the Python language syntax, linters, autocomplete, and debugger, it makes for a fantastic interface. However, I use the Terminal for running the Python code when using Atom.

  • Spyder: One of my employees was first introduced to coding via Matlab, so I suggested Spyder for him (due to its interface similiarity). As far as I know, he's still using it.

There are plenty more besides, but those three are at the top of my list. They're also all open source.

Collapse
 
tmr232 profile image
Tamir Bahar

My Python IDE of choice is JetBrains' PyCharm. It is absolutely amazing, and has a community edition as well. It is somewhat heavyweight (memory, CPU) but the benefits in terms of code intelligence (auto-completion, warnings, automatic fixes) and refactoring tools are amazing.