|
From: Michel D. <mic...@ho...> - 2011-12-01 13:00:42
|
Hello, Wrapping a piece of c++ code to python, I am trying to write a typemap(in). I want to convert a python list of numbers of mixed type (int, long, float). I know how to get each element of the list with PyTuple_GetItem($input,position). At this point I would like to determine the type of each item: int, long, … Could somebody tell me how to do that ? Thanks |