Pyrex lets you write code that mixes Python and C data types any way you want, and compiles it into a C extension for Python. . This Emacs mode is derived from the Python language mode, python-mode, and provides syntax highlighting for Pyrex scripts.