Spyder (就是原来著名的 Pydee) 是一个强大的交互式 Python 语言开发环境,提供高级的代码编辑、交互测试、调试等特性,支持包括 Windows、Linux 和 OS X 系统。详细特性如下:
Editor
| A powerful editor is a central piece of any good IDE. Spyder's editor has: - Syntax coloring for Python, C/C++ and Fortran files
- Powerful dynamic code introspection features (powered by rope):
- Code completion and calltips
- Go to an object definition with a mouse click
- Class and function browser.
- Occurrence highlighting.
- To-do lists (TODO, FIXME, XXX).
- Get errors and warnings on the fly (provided by pyflakes)
- Breakpoints and conditional breakpoints to use with the python debugger (pdb).
Learn More |
Console
To easily interact with your code as you progress, Spyder lets you - Open as many Python and Ipython consoles as you want
- Run a whole script or any portion of it from the Editor
- Have code completion and automatic link to documentation through the Object Inspector
- Execute all consoles in a separate process so they don't block the application
Learn More | |
Variable Explorer
| With the Variable Explorer you can browse and analyze all the results your code is producing, and also - Edit variables with Spyder's Array Editor, which has support for a lot of data types (numbers, strings, lists, arrays, dictionaries)
- Have multiple Array Editors open at once, thus allowing to compare variable contents
- Import/Export data from/to a lot of file types (text files, numpy files, Matlab files)
- Generate 2D plots of list and arrays
- View local variables while you're debugging
Learn More |
Object Inspector
Quick access to documentation is a must for every programmer, either to explore new libraries or to remember how to use a piece of code. Spyder gives you the docs in three different formats: - Rich text (powered by Sphinx)
- Plain text, to use when rich text is not working
- Source code, to look at the internal implementation
Learn More | |
Additional Features
History Log Browse the commands entered on all consoles in chronological order Learn More | | Array Editor Edit the contents of various variable types through the Variable Explorer Learn More |
Online Help Explore dynamically generated documentation of all installed modules Learn More | | Project Explorer Manage large programming efforts with various project facilities Learn More |
Pylint integration Analyze your source code for bugs and signs of poor coding quality Learn More | | Preferences Configure Spyder as you wish with a wealth of available preferences |