2011/6/17 Safoura <s.seddig...@gmail.com>:
> wander.lairson <wander.lairson@...> writes:
>
>>
>> 2011/6/17 Safoura Seddighin <s.seddighin@...>:
>> > Hi
>> > I need to use a python package and call it's class's methods from an 
>> > already
>> > extensive java package . The python package communicates with USB device 
>> > and
>> > therefore uses PyUSB library. In order to be able to mix Java and Python I
>> > decided to use Jython. However it seems that the usb package which was
>> > imported in the python code on my system just fine, is not known when I use
>> > the jython interpreter. Does that mean that Jython doesn't support this
>> > python library??
>> > I am working in eclipse on Windows 7 and have both Jython and Python set up
>> > as interpreters fpr PyDev in the eclipse.
>> > Any help would be greatly appreciated.
>> > Thanks so much in advance.
>> > Safi
>> >
>> I don't know a bit of Jython, unfortunatelly, but I can imagine at
>> least one issue when trying to use PyUSB on it: I use ctypes to
>> communicate with native libraries in Python and I am not sure it is
>> implemented in Jython, as there is the complication of the JVM. Please
>> check if ctypes libraries is available for Jython. By what you
>> described, it feels like we have a platform issue, thus jython guys
>> can help better than us.
>>
> Hi Wander
>
> Thanks for the reply.
> I'll try to get in touch with Jython guys. In the meantime I thought of asking
> you the question, do you have any suggestion or have ever come a solution for
> the problem I have(calling the perfect python package that uses PyUSBand has 
> all
> the functionalities I need ) from my already existing big Java code?
> If you can think of any thing other than Jython, would you kindly let me know?
>
> Thanks so much
> Safi
>
>
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> pyusb-users mailing list
> pyusb-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pyusb-users
>
Unfortunately no ideas...


-- 
Best Regards,
Wander Lairson Costa
LCoN - Laboratório de Computação Natural - Natural Computing Laboratory
(http://www.mackenzie.com.br/lcon.html)
Programa de Pós-Graduação em Engenharia Elétrica (PPGEE)
Faculdade de Computação e Informática (FCI)
Universidade Presbiteriana Mackenzie - SP - Brazil

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to