Hi all I am developing an application on QT, and I need to run Python scripts from my application. I am trying to allocate some memory using sipMalloc function. Which is provided in python-SIP. I am using PyQt 4 and python v2.7.
I am importing sip.so im my script thich is present in /usr/lib/python2.7/dist-packages/
NameError: name 'sipMalloc' is not defined
if there is any other alternative to allocate memory in python script w.r.t. QT Application plz share. Thanks
******SOLVED****** I dropped the idea of using SIP. Instead I am using SWIG with python for creating library of exported functions. And SWIG also provides option to allocate memory using malloc, which can be used directly in Python Scripts. Thanks for the help.