Questions tagged [python-bindings]
86 questions
0
votes
0 answers
how to call a function from a c++ class inside a python program
Class test has a member function check which is a cpp program , How can i call that function inside an independent python program. c++ python binding (did not understand it)

solomyhansolo
- 107
- 2
- 9
0
votes
2 answers
Binding Software
Is there a software for Language Bindings, other than SWIG. Also which is the most efficient ? I am looking for efficiency for C++ to Python bindings.

Harman
- 751
- 1
- 9
- 31
0
votes
1 answer
How to resolve importError after installing python pysctp in ubuntu:_sctp.cpython-35m-x86_64-linux-gnu.so:undefined symbol:PyString_FromStringAndSize
I have installed pysctp python module (python version: 3.5.2, Ubuntu :16.04). But when I am trying to import it I am getting importError as:
ImportError:…

Joy Saha
- 1
- 1
0
votes
1 answer
From python how to pass frame object received in sys.settrace callback to c++ function which takes void *
from the call back function of sys.settrace how to pass frame object to a c++ which accepts void *
Limitations (in a given situation):
Forced to use sys.settrace (can not use PyEval_SetTrace)
Also c++ function can not accept PyObject* or…

srinivas M
- 55
- 7
0
votes
1 answer
Tkinter: scrollable Frame in Canvas: Auto-resize binding error
This script when run, opens a window that is divided into 3 frames:
A big frame into which data will be shown (label widgets).
A smaller frame underneath it with user input widgets.
A small frame in the bottom-right corner with a textbox…

Pjay
- 13
- 1
- 7
0
votes
1 answer
How to import java.awt.Robot & java.awt.event.KeyEvent in python binding for selenium and its sample usage
Setup :python bindings for selenium 2.45.0 ,IEserver driver2.45.0(x86),python 2.7.9 ,window 7 64 bit
Problem:Trying to handle security based windows popup(OS) in a web application(input password and click ok) .
Tried
1. alert handling like this work…

krishan
- 131
- 1
- 4
- 14
0
votes
1 answer
C++ library python binding generation with Shiboken
I followed the tutorial up on the wiki http://qt-project.org/wiki/PySide_Binding_Generation_Tutorial
but I can't get it to work properly. I'm on MacOSX
So far here's what I did:
Build FooLib (static) ---> libFooLib.a
Create the…

Lex
- 413
- 1
- 7
- 19
0
votes
0 answers
What could be the reason for segmentation fault in python bindings
I want to write python bindings to a c library using cython. The library represents a multithreaded http server and exposes it's API via a header file. Following the cython guide, I wrote a pxd and a pyc file, containing definitions for 3 basic…

kaspersky
- 3,959
- 4
- 33
- 50
0
votes
1 answer
Python + OpenGL – Speed up passing of faces into OpenGL
I am using OpenGL with the Python bindings. I am passing my faces to OpenGL with the following code:
glBegin(GL_TRIANGLES)
for i in range(len(triangles)):
glVertex3fv(triangles[i])
glEnd()
where triangles is a list of faces.
This part of the…

Bill Cheatham
- 11,396
- 17
- 69
- 104
0
votes
1 answer
How to convert a Python PyQt based program to a portable package in Linux?
I've managed to make a single working executable file (for Windows) from a PyQt based Python app using PyInstaller, but is it also possible for Linux?
On linux machine (LUbuntu), when I run the .py script, I've got errors about missing PyQt bindings…

van_folmert
- 4,257
- 10
- 44
- 89
0
votes
1 answer
Python Bindings for Apache ZooKeeper
Can someone tell me where can I find the "latest" Python bindings for Apache ZooKeeper ?

Soumya Simanta
- 11,523
- 24
- 106
- 161