Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
4554dca5
Commit
4554dca5
authored
Jan 24, 2009
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pyximport blurb
parent
152cf3b3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
docs/tutorial.rst
docs/tutorial.rst
+10
-1
sphinxext/cython_highlighting.pyc
sphinxext/cython_highlighting.pyc
+0
-0
sphinxext/ipython_console_highlighting.pyc
sphinxext/ipython_console_highlighting.pyc
+0
-0
No files found.
docs/tutorial.rst
View file @
4554dca5
...
...
@@ -59,7 +59,7 @@ or :file:`helloworld.dll` in Windows. Now to use this file: start the python
interpreter and simply import it as if it was a regular python module::
>>> import helloworld
"Hello World"
Hello World
Congratulations! You now know how to build a Cython extension. But So Far
this example doesn't really give a feeling why one would ever want to use Cython, so
...
...
@@ -68,6 +68,15 @@ lets create a more realistic example.
:mod:`pyximport`: Cython Compilation the Easy Way
==================================================
If your module doesn't require any extra libraries or other dependancies, then
you can use the pyximport module by Paul Prescod to load .pyx files directly
without having to write a :file:`setup.py` file.
>>> import pyximport; pyximport.install()
>>> import helloworld
Hello World
This is shipped and installed with Cython.
Fibonacci Fun
==============
...
...
sphinxext/cython_highlighting.pyc
View file @
4554dca5
No preview for this file type
sphinxext/ipython_console_highlighting.pyc
View file @
4554dca5
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment