Tutorials¶
- Basic Tutorial
- Calling C functions
- Using C libraries
- Extension types (aka. cdef classes)
- pxd files
- Caveats
- Profiling
- Unicode and passing strings
- Python string types in Cython code
- String literals
- General notes about C strings
- Passing byte strings
- Accepting strings from Python code
- Dealing with “const”
- Decoding bytes to text
- Encoding text to bytes
- C++ strings
- Auto encoding and decoding
- Source code encoding
- Single bytes and characters
- Narrow Unicode builds
- Iteration
- Windows and wide character APIs
- Memory Allocation
- Pure Python Mode
- Working with NumPy
- Working with Python arrays
- Further reading
- Related work
- Appendix: Installing MinGW on Windows