how to call java methods in python

2011-10-03 Thread masood shaik
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. -- http://mail.python.org/ma

Re: how to call java methods in python

2011-10-04 Thread masood shaik
uot;, tax Now i am trying to access the calculateTip() and its showing import error. It works fine when i am running it with jython but why its not happening in python. Please do help me. On Oct 4, 11:52 am, alex23 wrote: > On Oct 4, 4:39 pm, masood shaik wrote: > > > Please help me. > &g

Re: how to call java methods in python

2011-10-04 Thread masood shaik
On Oct 4, 1:16 pm, Chris Rebert wrote: > On Tue, Oct 4, 2011 at 12:14 AM, masood shaik wrote: > > Hi > >  I am trying out my hand on accessing java methods in python. here is > > my piece of code.. > > > Calculator.java > > --- > > public cla

database connection

2011-10-06 Thread masood shaik
Hi can u please tell me how we can connect to database without changing the permission of db file using sqlite3 -- http://mail.python.org/mailman/listinfo/python-list

callling python function in c

2011-10-16 Thread masood shaik
Hi I am trying to call python function from c code.The following program i got from the web source while i am trying to run this program it throws an segmentation fault.I am working on Ubuntu 10.10 version.Can anyone guide me please The following program call_function.c // call_function.c - A