Ipython Use summary 1

Source: Internet
Author: User

1 Installing the Anaconda will find that many components are installed. It also eliminates the dependency problem when installing the package

Https://www.continuum.io/downloads

2 Ipython Foundation

(1) Start:

Win+r start cmd

Enter Ipython carriage return

(2) TAB key Auto-completion function (find function, previous command, or module)

Learn Linux should know, only need to enter a part and press the TAB key, will be in the current namespace to find and complement

(3) display the details of the variable -------;?

B: If it is to show the source code of the function, then the function name +?? Just OK.

C: Search for Ipython namespaces, using wildcard characters

(4)%run command

%run+py file name

(5) Magic Command: Command starting with%

A: Detecting the execution time of any Python statement

B: Can be seen as a ipython system command-line program, basically there will be options

%reset?

C: Common Ipthon Magic commands

(6) Save log file

%logstart

(9) Interactive Debugger

A:%debug

B:%run command with the-D option this will open the debugger before executing the script and enter S

C:b+num break point C Continue execution

Ipython Use summary 1

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.