/usr/include/python3.8/
should be added to includePath inc_cpp_properties.json
- build with
g++ main.cpp -o app -I /usr/include/python3.8/ -lpython3.8
<curses.h>
is a better replacement for<conio.h>
- a tutorial source:
https://www.codeproject.com/Articles/820116/Embedding-Python-program-in-a-C-Cplusplus-code
-
Notifications
You must be signed in to change notification settings - Fork 0
arashnm80/embed-python-in-cpp
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
run python code inside c++
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published