#-----------------------------------------------------------------------------
#  Copyright (c) 2012, IPython Development Team.
#
#  Distributed under the terms of the Modified BSD License.
#
#  The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------

from IPython.terminal.ipapp import launch_new_instance

launch_new_instance()

#-----------------------------------------------------------------------------
#  Copyright (c) 2012, IPython Development Team.
#
#  Distributed under the terms of the Modified BSD License.
#
#  The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------

from IPython import start_ipython

start_ipython()

Use new entry point for python -m IPython
Use new entry point for python -m IPython

  #-----------------------------------------------------------------------------
  #  Copyright (c) 2012, IPython Development Team.
  #
  #  Distributed under the terms of the Modified BSD License.
  #
  #  The full license is in the file COPYING.txt, distributed with this software.
  #-----------------------------------------------------------------------------
  
- from IPython.terminal.ipapp import launch_new_instance
+ from IPython import start_ipython
  
- launch_new_instance()
+ start_ipython()
  
Use new entry point for python -m IPython
## Code Before:
#-----------------------------------------------------------------------------
#  Copyright (c) 2012, IPython Development Team.
#
#  Distributed under the terms of the Modified BSD License.
#
#  The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------

from IPython.terminal.ipapp import launch_new_instance

launch_new_instance()

## Instruction:
Use new entry point for python -m IPython
## Code After:
#-----------------------------------------------------------------------------
#  Copyright (c) 2012, IPython Development Team.
#
#  Distributed under the terms of the Modified BSD License.
#
#  The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------

from IPython import start_ipython

start_ipython()
