Skip to content
This repository has been archived by the owner on Oct 15, 2021. It is now read-only.

Latest commit

 

History

History
21 lines (14 loc) · 779 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 779 Bytes

cFibonacci.py

Simple fibonacci package to demonstrate Python/C API.

Linux Setup

For Linux run the setup.py script via the setup script

python3 setup.py build

Directories will be created and a shared object (.so) file compiled. To make the cFibonacci package functional immediately, copy the .so file from build to the python package directory cFibonacci. You can check if this has been completed properly by running the test.py script.

python3 test.py 10

Python/C API References