Re: Help needed with using SWIG wrapped code in Python

2011-08-15 Thread Philip Semanchuk
On Aug 15, 2011, at 4:08 AM, Vipul Raheja wrote: > Hi, > > I have wrapped a library from C++ to Python using SWIG. But I am facing > problems while importing and using it in Python. Hi Vipul, Did you try asking about this on the SWIG mailing list? bye Philip -- http://mail.python.org/mailma

Re: Help needed with using SWIG wrapped code in Python

2011-08-15 Thread Stefan Behnel
Vipul Raheja, 15.08.2011 10:08: I have wrapped a library from C++ to Python using SWIG. But I am facing problems while importing and using it in Python. $ python >>> import pyossimtest >>> import pyossim >>> a = ["Image1.png","Image2.png"] >>> b = pyossimtest.Info() >>> b.initialize(len(a),a) Tr

Help needed with using SWIG wrapped code in Python

2011-08-15 Thread Vipul Raheja
Hi, I have wrapped a library from C++ to Python using SWIG. But I am facing problems while importing and using it in Python. $ python >>> import pyossimtest >>> import pyossim >>> a = ["Image1.png","Image2.png"] >>> b = pyossimtest.Info() >>> b.initialize(len(a),a) Traceback (most recent call las