verticesindices(3)
print a.getpolygonverticesindices(4)
print a.getpolygonverticesindices(5)
del a
Thanks again. Have a good day!!!
Regards
Roger
On Sep 17, 8:16 am, Tim Roberts <[EMAIL PROTECTED]> wrote:
> RLC <[EMAIL PROTECTED]> wrote:
>
> >I am new to python SWIG. Recently I wrote a small
RLC <[EMAIL PROTECTED]> wrote:
>
>I am new to python SWIG. Recently I wrote a small program trying to
>import collada files(using colladadom) into python so I could use
>python cgkit to render them. However, during the progressing, I got
>some problems. Every time I quit
RLC schrieb:
Hello
I am new to python SWIG. Recently I wrote a small program trying to
import collada files(using colladadom) into python so I could use
python cgkit to render them. However, during the progressing, I got
some problems. Every time I quit from Python, I get a segmentation
fault
Hy,
I need help indeed, about python/swig C wrapper. Exactly, I've built
a python library from C library and it seem works. Unfortunatly, a
gruop of function that requred pointer to pointer parmeters give me a
exception like this:
"TypeError: in method 'BestRules', argument 1
If you're on AIX and Python immediately dumps core when trying to import
any SVN module, then adding "-Wl,-brtl" to LINKFORSHARED in the Makefile
seems to fix the problem.
Bad: > LINKFORSHARED=-Wl,-bE:Modules/python.exp -lld
Good: < LINKFORSHARED=-Wl,-bE:Modules/python.exp -lld
Dear All,
I am new to Python and SWIG, and I tried to search the SWIG
mailinglist for my specific question, but I did not find it. And for a
simple one c++ file, I can handle it successfully.
Now I have a small project including several C files, file1.C file2.C
file3.C file2.h file3.h , file1.C i
On Sep 21, 9:00 am, sapsi <[EMAIL PROTECTED]> wrote:
> Hello,
> I'm not sure if this the correct list but here goes (and sorry for the
> noise). I've been attempting to wrap python around libhdfs.
> So far so good (i've attached the SWIG template at the end). The
> compilation works without errors
On Sep 20, 8:22 pm, sapsi <[EMAIL PROTECTED]> wrote:
> On Sep 20, 7:00 pm, sapsi <[EMAIL PROTECTED]> wrote:
>
> > Hello,
> > I'm not sure if this the correct list but here goes (and sorry for the
> > noise). I've been attempting to wrap python around libhdfs.
> > So far so good (
>
> I should point
On Sep 20, 7:00 pm, sapsi <[EMAIL PROTECTED]> wrote:
> Hello,
> I'm not sure if this the correct list but here goes (and sorry for the
> noise). I've been attempting to wrap python around libhdfs.
> So far so good (
I should point out that libhdfs is a c library to Hadoop Distributed
FileSystem.
Hello,
I'm not sure if this the correct list but here goes (and sorry for the
noise). I've been attempting to wrap python around libhdfs.
So far so good (i've attached the SWIG template at the end). The
compilation works without errors and the shared objects do have
references to all the functions.
Hi,
I have the following problem:
I want to parse an array M1 from python to a cpp function fct which
returns an array M2.
How can I do this best? Is SWIG appropriate or is there something
else?
If someone could give some code example or a link to a page with
examples, that would be great!
Tha
En Tue, 13 Mar 2007 03:33:43 -0300, Frank <[EMAIL PROTECTED]> escribió:
> I want to parse an array M1 from python to a cpp function fct which
> returns an array M2.
>
> How can I do this best? Is SWIG appropriate or is there something
> else?
If you're going to call a single function, declare it
Hi,
I have the following problem:
I want to parse an array M1 from python to a cpp function fct which
returns an array M2.
How can I do this best? Is SWIG appropriate or is there something
else?
If someone could give some code example or a link to a page with
examples, that would be great!
Tha
Hi,
I have the following problem:
I want to call a cpp program from python. Let's call this cpp program
fct. The problem is that I will parse a large array, say M1, to fct
and also receive a large array, say M2 back (each about 1000 x 1000).
Normally, I would write M1 to a file, call fct via
sub
Hi,
I tried to follow the example in swig homepage.
I found error which I don't understand.
I use bcc32, I already include directory where my python.h exist in
bcc32.cfg.
/* File : example.c */
#include
double My_variable = 3.0;
int fact(int n) {
if (n <= 1) return 1;
else return
Hi alltogether,
I found a nice and useful article for extenting python with C++ using
SWIG. It describe from the scratch especially for Windows. Maybe this
can be included somewhere on www.python.org. Here is the link:
http://www.geocities.com/foetsch/python/extending_python.htm
Alexander
16 matches
Mail list logo