GeezerVison is showing github.com — GitHub - Ergus/C-Python: Calling Python from C with pure CPython api.
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|
| | | |
| | | |
| | | |
| | | |
| | | |
|
Repository files navigation
Simple test to call python function in module from C.
There is a test included from cmake which executes:
./main mylib multiply 4 5
and tests the output. The multiply function is defined in the python
module.
Just follow the standard cmake steps.
mkdir build
cd build
cmake ..
make
make test
About
Calling Python from C with pure CPython api.
Topics
Resources
Stars
1 star
Watchers
1 watching
Forks