mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-24 03:51:57 +00:00
Update cheatsheets
This commit is contained in:
25
tldr/cython
Normal file
25
tldr/cython
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# cython
|
||||
|
||||
> A compiler that converts .pyx files into C or C++ source files.
|
||||
> More information: <https://docs.cython.org/en/latest/>.
|
||||
|
||||
- Compile into C code:
|
||||
|
||||
`cython {{path/to/file}}`
|
||||
|
||||
- Compile into C++ code:
|
||||
|
||||
`cython --cplus {{path/to/file}}`
|
||||
|
||||
- Specify an output file:
|
||||
|
||||
`cython {{[-o|--output-file]}} {{path/to/output_file}} {{path/to/file}}`
|
||||
|
||||
- Display version:
|
||||
|
||||
`cython {{[-V|--version]}}`
|
||||
Reference in New Issue
Block a user