Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 380 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 380 Bytes

Native C to Python Example

Simple example to show how C structures interact with Python.

Requirements

  • Python 3
  • Ideally some version of Linux

Running example

To run the example, execute test.py

Build

To build the C source into a python module, simply run the command which will install the module into your global python includes.

python3 setup.py install