Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 700 Bytes

pythoncommands.md

File metadata and controls

26 lines (17 loc) · 700 Bytes

Common Python Commands

Run the interpreter

python

Quit the iPython interpreter

>>> quit()

Run the iPython interpreter

ipython

Quit the Python interpreter

>>> quit()    

Run iPython Notebook

ipython notebook
  • Note: Your notebooks and other generated files will be saved in the directory where you launch ipython from (i.e., your present working directory).
  • Second note: Any paths you reference in your notebook like pandas.read_csv('file.csv') will be relative to your present working directory.

Open an iPython Notebook file

ipython notebook <notebook.ipynb>

Stop iPython Notebook

ctrl+c