##// END OF EJS Templates
Better handling of `__file__` when running scripts....
Better handling of `__file__` when running scripts. * Set `__file__` when running `ipython filename.ipy` * Avoid leaking `__file__` back into the main namespace when using `%run`.

File last commit:

r3673:b9f54806
r8529:fb101a1a
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()