[Python Cookbook] IPython: An Interactive Computing Environment
Posted Sherrrry
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[Python Cookbook] IPython: An Interactive Computing Environment相关的知识,希望对你有一定的参考价值。
You can launch IPython on the command line just like launching the regular Python interpreter except with the ipython command:
$ ipython
Then you can execute arbitary Python statements by typing them in and pressing <return>.
If you want to exist, you can use the following command:
exist()
or
exist
Here are some useful tips:
- While entering expressions in the shell, pressing <Tab> will search the namespace for any variables
- Using a question mark (?) before or after a variable will display some general information about the object
- Using ?? will also show the function’s source code
- A number of characters combined with the wildcard (*) will show all names matching the wildcard expression.
以上是关于[Python Cookbook] IPython: An Interactive Computing Environment的主要内容,如果未能解决你的问题,请参考以下文章
[Python Cookbook] Pandas Groupby
[Python Cookbook] Numpy Array Manipulation