0

Sometimes, I want to add new features into a Python application. Usually, we can explore and test these new features in IPython interactive environment. It is inconvenient, however, that type in the already finished codes each time.

So, is it possible to import an exist python script into IPython for further modification?

Douglas Su
  • 3,214
  • 7
  • 29
  • 58
  • Uh, possibly related: http://stackoverflow.com/questions/3438531/ipython-workflow-edit-run – NightShadeQueen Jul 14 '15 at 02:23
  • This cannot be done with IPython. Suggest moving up to Spyder which is more of a full IDE with separate editor and console windows and its File menu has open as well as save and close selections. If your python distro does not have Spyder it is bundled with Anaconda. –  Jul 14 '15 at 02:30

1 Answers1

0

you can use ipython notebook.

$ ipython notebook

then open your existing code and do a further modification.

Yonas Kassa
  • 3,362
  • 1
  • 18
  • 27