Windows Python Integrated development Environment-spyder installation and use __python

Source: Internet
Author: User
Tags uppercase letter
Spyder is a simple integrated development environment developed by the author of Python (x,y) for it. Compared with other Python development environments, its greatest advantage is to imitate the "workspace" function of Matlab, it is easy to observe and modify the value of the array.


This article is about Windows under the Python Integrated development Environment-spyder installation and use, interested in the reference of students. Spyder Introduction

Spyder is a simple integrated development environment developed by the author of Python (x,y) for it. Compared with other Python development environments, its greatest advantage is to imitate the "workspace" function of Matlab, it is easy to observe and modify the value of the array. 1. Installation Tools pip:https://pip.pypa.io/en/latest/installing.html

Download get-pip.py.

Run cmd: "Python get-pip.py".

Note: The Python 2.7.9 and 3.4 versions already contain the PIP by default, so you are not allowed to install it. 2. Install Pyside

Switch to C:\Program files (x86) \python27\scripts: "CD C:\Program files (x86) \python27\scripts".

CMD: "C:\Program Files (x86) \python27\scripts>pip install--use-wheel pyside".

Note: Pyside is a python-bound version of QT for Cross-platform application frameworks. In August 2009, Pyside first published. Provides similar functionality to PYQT and compatible APIs. But unlike PyQt, the LGPL authorization is used. 3. Install Spyder

CMD: "C:\Program Files (x86) \python27\scripts>pip install Spyder". 4. Start Spyder

Run: "C:\Program Files (x86) \python27\scripts\spyder.bat".

The following figure: You can set breakpoints, Single-step debugging, and so on.

Spyder features a lot more, here are only some common features and techniques: The default configuration, the Variable Explorer pane does not display a variable that begins with an uppercase letter, you can click the Configuration button (the last button) in the toolbar to cancel the "Exclude" in the menu. Capitalized the selected state of the references. In the console, you can press the TAB key to complete the automatic completion. When you enter "?" after the variable name, you can view the object's documentation in the Inspector pane. The show source option in the Options menu of this pane opens the source program for the display function. You can modify the work path through the Working directory toolbar, which will be the current path when the user program runs. For example, if we only need to modify the work path, we can use the same program to process the data files in different folders. You can quickly jump to the defined location by holding down the CTRL key in the Program editing window and clicking the variable name, function name, class name, or module name. If it is defined in another program file, the file is opened. When learning about the use of a new module, we often need to see how a function or class in a module is implemented, and this feature helps us to quickly view and analyze the source programs for each module. For example, the following program loads modules and classes from a different extension library. Open this file with Spyder, hold down the CTRL key, and click Signal, PL, hastraits, Instance, View, Item, Lfilter, Plot, title, open the program file that defines them, and jump to the appropriate line.

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.