SWIG and function name question
kain at twilight.
Thu Nov 4 02:47:27 CET 1999
How about this:
Given these two files,
self.f = foo.__foo # Create an alias for foo.__foo
self.b = foo.bar # Create an alias for foo.bar
>>> import bar
Traceback (innermost last):
File "<stdin>", line 1, in ?
File "bar.py", line 3, in ?
File "bar.py", line 4, in Foo
self.f = foo.__foo
If I comment out self.f = foo.__foo all works fine. What am I doing wrong
In article <m3ln8f9y9u.fsf at atrus.jesus.cam.ac.uk>, Michael Hudson wrote:
>kain at twilight. (Scott Barron) writes:
>It's nothing to do with SWIG; try this for size:
>put this in a file called foo.py on your PYTHONPATH:
>O, look: http://www.python.org/doc/current/ref/import.html has all the
More information about the Python-list