Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

3 Commits

Repository files navigation

I already had gcc and related stuff, so that might be a dependency.

after creating example.(i|c|h), I ran the following:

sudo apt-get install swig
swig -python example.i 

Then created setup.py and ran that:

python setup.py build_ext --inplace

and then could import:

>>>importexample>>>example.fact(4)
24

About

hello world for swig.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages