In swig version 1.1, we used to have
%pragma(python) include="append.py"; which appends additional code in
append.py in the swig generated python file, and
%pragma(python) code ="from spam import *";
Now the newer version I am using, 1.3.36, does not seem to support these
anymore. Is this true? If yes, what has replaced them? If not, what can I
do to make them working?