In recent versions of IPython, you do need to add the -i
option to get into the interactive environment afterwards. Without the -i
it just runs the code in myfile.py and returns to the prompt.
ipython -i myfile.py
More Related Contents:
- IPython Notebook locale error [duplicate]
- What is the difference between pip and conda?
- How to make IPython notebook matplotlib plot inline
- How do I increase the cell width of the Jupyter/ipython notebook in my browser?
- ipython reads wrong python version
- How to display full output in Jupyter, not only last result?
- Selection with .loc in python
- How can I check if code is executed in the IPython notebook?
- How to load/edit/run/save text files (.py) into an IPython notebook cell?
- How to install a Python package from within IPython?
- Autoreload of modules in IPython [duplicate]
- Multiprocessing working in Python but not in iPython
- Passing IPython variables as arguments to bash commands
- How to hide in IPython notebook
- What is %pylab?
- How do I get interactive plots again in Spyder/IPython/matplotlib?
- Connecting to a remote IPython instance
- `ipython` tab autocomplete does not work on imported module
- Prevent Python from caching the imported modules
- How can I display an image from a file in Jupyter Notebook?
- Convert JSON IPython notebook (.ipynb) to .py file
- Share data between IPython Notebooks
- Simple way to measure cell execution time in ipython notebook
- how to “reimport” module to python then code be changed after import
- Display an image with Python
- import a function from another .ipynb file
- Launch IPython notebook with selected browser
- Why can’t PySpark find py4j.java_gateway?
- How to run IPython magic from a script
- How to format IPython html display of Pandas dataframe?