Ipython

ipython

#ipython

1

1: ipython

2

2

2

Examples

3

3

3

3

4

IPython Jupyter

5

IPython

9

IPython

11

2: Magics

13

13

Examples

13

% timeit `% time`

13

13

3: , IPython

15

15

Examples

15

IPython

15

17

You can share this PDF with anyone you feel could benefit from it, downloaded the latest version from: ipython

It is an unofficial and free ipython ebook created for educational purposes. All the content is extracted from Stack Overflow Documentation, which is written by many hardworking individuals at Stack Overflow. It is neither affiliated with Stack Overflow nor official ipython.

The content is released under Creative Commons BY-SA, and the list of contributors to each chapter are provided in the credits section at the end of this book. Images may be copyright of their respective owners unless otherwise specified. All trademarks and registered trademarks are the property of their respective company owners.

Use the content presented in this book at your own risk; it is not guaranteed to be correct nor accurate, please send your feedback and corrections to info@



1

1: ipython

IPython Read-Evaluate-Print Loop Python. GUI Jupyter . .

REPL Python, , ptpython bpython .

5.0.0 2016-07-07

4.2.0 2016-04-20

4.1.0 2016-02-02

4.0.0 2015-08-12

3.2.0 2015-06-21

3.1.0 2015-04-03

3.0.0 2015-02-27

2.4.0 2015-01-30

2.3.0 2014-10-01

2.2.0 2014-08-06

2.1.0 2014-05-21

2.0.0 2014-04-02

0,13

2012-06-30

0,12

2011-12-19

0,11

2011-07-31

0,10

2010-09-01



2

0.9

2008-09-13

Examples

python , IPython REPL ( Read-Evaluate-Print Loop ) , Python, REPL ,

:

pip install ipython

, Anaconda :

# To install into the active environment: $ conda install ipython # Or, to create a new environment with IPython installed: $ conda create -n ipython

Enthought Canopy :

$ enpkg ipython

, Python (2 3), :

ipython

Python 3:

ipython3



3

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download