##// END OF EJS Templates
The refactoring of the Task system is nearly complete. Now there are...
The refactoring of the Task system is nearly complete. Now there are multiple types of tasks including `StringTask` and `MapTask`. Each task type is responsible for running itself and processing its own result. This makes it much easier for people to create new task types. Also, the map and parallel function support has been completely refactored and improved. This includes a map and parallel function implementation for the task controller as well as a @parallel decorator.

File last commit:

r1049:c87d640e
r1395:1feaf0a3
Show More
ipykit.py
21 lines | 627 B | text/x-python | PythonLexer
#!/usr/bin/env python
# -*- coding: utf-8 -*-
""" IPykit launcher
w/o args, this launches a full ipykit session.
If the first arg is a .py script, it will be run WITHOUT ipython,
to facilitate running python scripts almost normally on machines w/o python
in their own process (as opposed to %run).
"""
import sys
if len(sys.argv) > 1 and sys.argv[1].endswith('.py'):
# shortcut for running ipykit.exe directly on a .py file - do not bother
# starting ipython, just handle as normal python scripts
sys.argv = sys.argv[1:]
execfile(sys.argv[0])
else:
import IPython
IPython.Shell.start().mainloop()