It depends how the spss module itself is implemented, e.g. if it's a Python module it can be imported easily, but if it's a C module you can write a wrapper around it using ctypes.
Mohammad Tayseer http://spellcoder.com/blogs/tayseer ________________________________ From: Sarah Abdel Razak <sabdelra...@symbyo.com> To: Discussion of IronPython <users@lists.ironpython.com> Sent: Monday, June 29, 2009 9:00:06 PM Subject: Re: [IronPython] Running SPSS application from IronPython No spss module is not a C-extension , I believe that part of it is implemented using java. At the begining of my module I add the following lines : import sys sys.path.extend([ r'c:\Python25\Lib', r'c:\Python25\Lib\site-packages', ]) sys.path.append(r'c:\Python25\Lib') sys.path.append(r'C:\Python25\Lib\site-packages') import spss ----> this line that throws the exception. I'm running the module from IronPython Studio. Regards -- Sarah Abdelrazak On Mon, Jun 29, 2009 at 10:40 AM, Brian Curtin <brian.cur...@gmail.com> wrote: On Mon, Jun 29, 2009 at 12:22, Sarah Abdel Razak <sabdelra...@symbyo.com> wrote: > >Thanks for your reply I just knew that spss Python plugin has to be built for >specific Python implementations. >> Unfortunately it does not support IronPython. >> >>Regards >>-- >>>> >>Sarah Abdelrazak > >Even though they don't support it, it will probably still work. Is this SPSS >module a C-extension or does it involve C-extensions? Have you tried what >Michael suggested? > >_______________________________________________ >>Users mailing list >Users@lists.ironpython.com >http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > >
_______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com