码迷,mamicode.com
首页 > 编程语言 > 详细

[Python Cookbook] IPython: An Interactive Computing Environment

时间:2019-01-01 11:17:15      阅读:200      评论:0      收藏:0      [点我收藏+]

标签:like   cep   object   command   fun   bit   ring   using   mat   

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

标签:like   cep   object   command   fun   bit   ring   using   mat   

原文地址:https://www.cnblogs.com/sherrydatascience/p/10204167.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!