


Detailed explanation of the installation and use of ipython under windows
ipython installation
ipython can be installed directly using pip install ipython
. If the installation fails, follow the steps below to install it manually
Required file download:
Link: http://pan.baidu.com/s/1dE756OL Password: rlzh
ipython is a python interactive shell, which is much easier to use than the default python shell
. It supports automatic variable completion, automatic indentation, supports bash shell
commands, and has many useful built-in functions and functions.
1. Install ez_setup.py in cmd, the command is: python ez_setup.py<br>
2. Unzip ipython, and then install ipython in cmd. The command is: python setupegg.py install<br>
3. Set the environment variable of ipython. The executable file of ipython is in the scripts folder under the python installation folder
4. After setting up, enter ipython in cmd to use it
Usage of iptyhon
1. Command completion
When entering an expression in the shell, as long as you press the Tab key, any variables (objects, functions, etc.) in the current command control that match the entered string will be found.
2. Object introspection
Add a question mark (?) before or after a variable to display some general information about the object. This is called introspection of an object.
If the object is a function or instance method, its docstring will also be displayed.
Using ?? will also display the source code of the function.
Some strings are matched with wildcard characters (*) to display all names that match the wildcard expression.
Commonly used shortcut keys
Ctrl-P or Up Arrow Search backwards in the command history for commands starting with the currently entered text
Ctrl-N or down arrow key Search forward in the command history for commands starting with the currently entered text
Ctrl-R Reverse history search (partial match) reading line by line
Ctrl-Shift-v Paste text from clipboard
Ctrl-C aborts the currently executing code
Ctrl-A moves the cursor to the beginning of the line
Ctrl-E moves the cursor to the end of the line
Ctrl-K deletes text from the cursor to the end of the line
Ctrl-U clears all text in the current line 12
Ctrl-F moves the cursor forward one character
Ctrl-b moves the cursor back one character
Ctrl-L clear screen
Summary
The above is the entire content of this article. I hope the content of this article can bring some help to everyone's study or work. If you have any questions, you can leave a message to communicate.

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Solve the problem of third-party interface returning 403 in Node.js environment. When we use Node.js to call third-party interfaces, we sometimes encounter an error of 403 from the interface returning 403...

The OKX trading platform can be downloaded through mobile devices (Android and iOS) and computers (Windows and macOS). 1. Android users can download it from the official website or Google Play, and they need to pay attention to security settings. 2. iOS users can download it through the App Store or follow the official announcement to obtain other methods. 3. Computer users can download the client of the corresponding system from the official website. Always make sure to use official channels when downloading, and register, log in and security settings after installation.

The problem of comparing and synchronizing BeyondCompare files: Case sensitivity failure when using Beyond...

How to avoid the third-party interface returning 403 error in the Node environment. When calling the third-party website interface using Node.js, you sometimes encounter the problem of returning 403 error. �...

Why can't my code get the data returned by the API? In programming, we often encounter the problem of returning null values when API calls, which is not only confusing...

Multithreading in the language can greatly improve program efficiency. There are four main ways to implement multithreading in C language: Create independent processes: Create multiple independently running processes, each process has its own memory space. Pseudo-multithreading: Create multiple execution streams in a process that share the same memory space and execute alternately. Multi-threaded library: Use multi-threaded libraries such as pthreads to create and manage threads, providing rich thread operation functions. Coroutine: A lightweight multi-threaded implementation that divides tasks into small subtasks and executes them in turn.

Python binary library (.whl) download method explores the difficulties many Python developers encounter when installing certain libraries on Windows systems. A common solution...

Mastering Debian system log monitoring is the key to efficient operation and maintenance. It can help you understand the system's operating conditions in a timely manner, quickly locate faults, and optimize system performance. This article will introduce several commonly used monitoring methods and tools. Monitoring system resources with the sysstat toolkit The sysstat toolkit provides a series of powerful command line tools for collecting, analyzing and reporting various system resource metrics, including CPU load, memory usage, disk I/O, network throughput, etc. The main tools include: sar: a comprehensive system resource statistics tool, covering CPU, memory, disk, network, etc. iostat: disk and CPU statistics. mpstat: Statistics of multi-core CPUs. pidsta
