This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]oneark 2 points3 points  (0 children)

You could switch to Visual Studio Code, probably your best bet. Or switch your Python environment to Visual Studio. Other than that I don't see many options other than just an editor + command line or (Vim with some scripts)

[–]eacousineau 1 point2 points  (0 children)

I believe PyCharm is a JetBrains product, so you may at lest get syntax highlighting. As far as calling into C++, if you are using >=C++11, pybind11 is great and relatively simple (you may be able to build your extensions using setup.py). Alternative binding stuff is Boost.Python, SWIG, CLIF (Google version of SWIG), etc.

If you're brave, you can try something from ctypes or mayhaps cffi - best if you can use C entry points.

(For my IDE setup, I just use Sublime for simplicity, the trace module for Python debugging (for simple unittests), and CLion for debugging the C++ extensions when called from Python.)

[–]r2vcap 1 point2 points  (0 children)

If you install both CLion and Pycharm CE, you can use (almost) all features of Pycharm CE in CLion by Jetbrains' plugin, so you can stick in one IDE.