Add python examples
Fix swig detection