spyder function introduction
1. Edit
Multilingual editor with function/class browser, code analysis capabilities (currently supporting pyflakes and pylint), code completion, horizontal and vertical splitting and goto definitions.
2. Interactive console
Python or IPython consoles with workspace and debugging support allow immediate evaluation of code written in the editor. It also comes with Matplotlib figure integration.
3. Document viewer
Displays documentation for any class or function call made in the editor or console.
4. Variable explorer
Browse the variables created during the execution of the file. Editing them is also possible with several GUI-based editors, such as dictionaries and Numpy arrays.
5. Search in files
Supports regular expressions and mercury repositories
6. File Explorer
spyder software features
Spyder has many functions. Here we only introduce some commonly used functions and techniques:
Under the default configuration, "Variable Explorer" pane does not display variables starting with capital letters, you can click the configuration button (the last button) in the toolbar and cancel "Exclude capitalized" in the menu references" is selected.
In the console, you can press the Tab key for auto-completion. Enter "?" after the variable name. You can enter "?" View the object's documentation in the "Inspector" pane. The "Show source" option in the Options menu of this pane can turn on the source program of the displayed function.
You can use “Working Directory" toolbar to modify the working path. When the user program is running, this working path will be used as the current path. For example, we only need to modify the working path to use the same program to process data files in different folders.
Hold down the Ctrl key in the program editing window and click the variable name, function name, class name or module name to quickly jump to the definition location. If it is defined in another program file, this file will be opened. exist When learning the usage of a new module, we often need to see how a certain function or class in the module is implemented. Using this function can help us quickly view and analyze the source program of each module. For example, the following program starts from Several modules and classes are loaded into different extension libraries. Open this file with Spyder, hold down the Ctrl key, and click signal, pl, HasTraits, Instance, View, Item, lfilter, plot, title, etc., will open the program file that defines them and jump to the corresponding line.
spyder installation method
The simplest way
Spyder is already included in these Python scientific distributions:
1. Anaconda
2. WinPython
3. Python(x, y)
You can start using it immediately after installing one of them (you only need to install one!).
2. Hard drive method
If you want to install Spyder directly, you need to follow these steps:
1. Basic requirements for installation:
Python programming language
PyQt5 (recommended) or PyQt4
2. Run the following command to install Spyder and its dependencies:
pip install spyder
spyder update log
1. Modify user-submitted bugs
2.Add new features
Huajun editor recommends:
In addition to spyder, a very convenient programming tool, there are alsoFast table software,AlphaEbot action editing software,He Xiaoxiang programming client,Automated testing tool AutoRunner,Little turtle LOGO languageRelated software is available for download. If you need it, please click to download and use it.
it works
it works
it works