Learning Cython Programming Second Edition
- 110 stránek
- 4 hodiny čtení
Cover -- Copyright -- Credits -- About the Author -- Acknowledgments -- About the Reviewer -- www.PacktPub.com -- Table of Contents -- Preface -- Chapter 1: Cython Won't Bite -- Installing Cython -- Emacs mode -- Getting the code examples -- Getting started - Hello World -- Using distutils with Cython -- Calling C functions from Python -- Type conversion in Cython -- Summary -- Chapter 2: Understanding Cython -- Linking models -- Cython keyword - cdef -- Structs -- Enums -- Typedef and function pointers -- The public keyword -- Keyword cpdef -- Logging from C/C++ into Python