Skip to content
← Back to Community
Creating a c++ library for python on repl.it?
Profile icon
finlay44111

Is it possible to use the functions defined in my c++ repl, 'NN' in python, i want to use them to create a GUI and i am not sure how to do that in C++

Voters
Profile icon
fshabashev
Profile icon
xxpertHacker
Profile icon
finlay44111
Comments
hotnewtop
Profile icon
fshabashev

yep, could be nice thing to have

Profile icon
SixBeeps

Short answer: no
Long answer: Technically yes, but it is discouraged. There looks to be a feature of some sort in Python that lets you do this (https://docs.python.org/3/extending/building.html) but it looks a little hacky.