Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 630 Bytes

Notes.md

File metadata and controls

40 lines (26 loc) · 630 Bytes

cd mkdir ls rm rmdir make

clang -0 -gdb3 outputfile inputfile.c

Write functions as .py or .pyx cython xxx.py(x) --> xxx.c

Create compile.py that cythonizes .py(x) python compile.py build_ext --inplace --> xxx.c, xxx.platform.so/.pyd

Import xxx.pyd to use import xxx

if .sp/.pyd present, prefers them

Put all xxx.pyx / .c / .so / .pyd / build into module folder yyy create empty init.py

Import file xxx of module yyy from yyy import xxx xxx.zzz() to use

Import all files from yyy import * xxx.zzz() to use

put file into init.py Import module import yyy xxx.zzz() to use