##// END OF EJS Templates
Updated the multiengine and task interface documentation....
Updated the multiengine and task interface documentation. The multiengine interface documentation is in very good condition. The task interface documentation is in OK condition. The main problem is that the task documentation had fallen very out of date. Rather than trying to update all of it, I moved the old task documentation to a file (docs/source/parallel/parallel_task_old.txt) and started a new shorter task documentation that is fully up to date. This should get user's started with the new stuff. But, we do need to write more complete task interface docs.

File last commit:

r1248:19e3b286
r1678:75e7964c
Show More
nbexample_output.py
20 lines | 642 B | text/x-python | PythonLexer
/ docs / attic / nbexample_output.py
from notebook.markup import rest
rest.title('This is a Python Notebook')
rest.text("""\
Some plain text, without any special formatting.
Below, we define a simple function to add two numbers.""")
def add(x,y):
return x+y
rest.text("Let's use it with x=2,y=3:")
# This simply means that all code until the next markup call is to be executed
# as a single call. The editing screen should mark the whole group of lines
# with a single In[NN] tag (like IPython does, but with multi-line capabilities)
rest.input()
add(2,3)
# This output would appear on-screen (in the editing window) simply marked
# with an Out[NN] tag
rest.output("5")