[Numpy-discussion] Numpy Example List
Pau Gargallo
pau.gargallo at gmail.com
Fri May 19 09:57:08 EDT 2006
On 5/19/06, joris at ster.kuleuven.ac.be <joris at ster.kuleuven.ac.be> wrote:
>
> For your information: http://scipy.org/Numpy_Example_List
> - all examples are now syntax highlighted (thanks Pau Gargallo!)
> - most examples have now a clickable "See also:" footnote
> - is extended to 118 examples
>
> Joris
>
Thanks to you Joris !!
118 examples in a week, you did a huge work!
The color syntax have some problems.
We are using now the moinmoin command:
{{{#!python numbers=disable
so moinmoin is coloring the interactive sessions as if they were
python files. This gives error when the output of the interactive
session don't look like python code. See
for example http://www.scipy.org/Numpy_Example_List#histogram where
the print commands print opening brackets "[" and not the closing
ones.
Does someone know an easy way to solve this?
Is there some way to deactivate the #!python color highlighting for
some lines of the code?
All around the scipy.org site there are examples of interactive python
sessions, it will be nice to have a special syntax highlighter for
them. Like:
{{{#!python_interactive
may be to much efforts just for colors?
pau
More information about the NumPy-Discussion
mailing list