On 10/4/2011 2:39 AM, masood shaik wrote:
Hi

     I am trying to import java method in python. But i am getting the
following error.


     error: ImportError: No module named Calculator


Calculator is the name of the class written in java. I am trying to
access the methods of that class.

Please help me.

Masood,

What you are trying to do requires a lot of understanding of advanced computer programming. I suggest you read Laszlo's response, and the links suggested by Steven. If you find those responses too hard to understand, or if you don't understand the difference between Jython and CPython, or if you don't know what CPython is, then you are "in over your head" as we say in the U.S. You are trying to do something that is too hard for you.

If that is so, and if this is for a school project, I suggest you talk to the teacher about getting an easier project.

Good luck.

    Alan

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to