##// END OF EJS Templates
Add -m option to %run to launch a module as a script....
Add -m option to %run to launch a module as a script. The new -m option searches for a module on the python path and launches that module as a script. This is similar to Python's -m command-line flag in behavior, but while staying inside IPython. Conflicts: IPython/core/magic.py Closes gh-819.

File last commit:

r3673:b9f54806
r4978:a4cfe5cf merge
Show More
ipcluster
18 lines | 653 B | text/plain | TextLexer
#!/usr/bin/env python
# encoding: utf-8
#-----------------------------------------------------------------------------
# Copyright (C) 2008-2009 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
from IPython.parallel.apps.ipclusterapp import launch_new_instance
launch_new_instance()