I'm trying to speed up some code that I have written in Python and have thought about writing some code in C to do so. However, I am using PyCharm and its supported languages section, https://www.jetbrains.com/help/pycharm/supported-languages.html doesn't mention C, meaning no option to just create a C file and then import it into python. Is there any other way of doing it?
Unfortunately PyCharm does not support any C/C++ coding and there are no existing plugins for PyCharm that will support this. With that said, there is an IDE for C and C++ called CLion which is released by JetBrains just like PyCharm. CLion supports many features varying from Python debugger to Python Console for working with python and also supports all features that Pycharm offers. This should satisfy your needs towards using C code with Python in the most healthy way.
Here are some useful links for you:
https://www.jetbrains.com/clion/
https://www.jetbrains.com/help/clion/python.html#features
Good luck!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With