Call python code from c via cython
If you rename the quacker.pyx to quacker.py, everything is actually correct. The only problem is that your program won’t search for python modules in the current directory, resulting in the output: Exception NameError: “name ‘quack’ is not defined” in ‘caller.call_quack’ ignored If you add the current directory to the PYTHONPATH environment variable however, the output … Read more