This is an example of using arrays with Pyd. Execute the conventional distutils command python setup.py build to build. Then execute python test.py to exercise this example extension.