Skip to content

Commit efe4bdf

Browse files
sri-sethuManagor
andauthored
cython: add page (#19111)
Co-authored-by: Managor <[email protected]>
1 parent 18a4590 commit efe4bdf

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

pages/common/cython.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# cython
2+
3+
> A compiler that converts .pyx files into C or C++ source files.
4+
> More information: <https://docs.cython.org/en/latest/>.
5+
6+
- Compile into C code:
7+
8+
`cython {{path/to/file}}`
9+
10+
- Compile into C++ code:
11+
12+
`cython --cplus {{path/to/file}}`
13+
14+
- Specify an output file:
15+
16+
`cython {{[-o|--output-file]}} {{path/to/output_file}} {{path/to/file}}`
17+
18+
- Display version:
19+
20+
`cython {{[-V|--version]}}`

0 commit comments

Comments
 (0)