Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ C-Python Public

Calling Python from C with pure CPython api.

Ergus/C-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

3 Commits

Repository files navigation

Readme

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.

Build

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /