1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Getting started with Spyder
^92e0ab
In this tutorial we will cover the basics of using the Spyder IDE (Interactive Development Environment). If you've ever worked with MATLAB before, then this will feel familiar. Spyder is a program that allows you to write, run and de-bug code.
## Launching Spyder
Using Anaconda we will select the environment we created earlier *spyder-dev* and then we can launch spyder from the Home page.
## Spyder Interface

Once you open up Spyder in it's default configuration, you'll see three sections; the editor IPython Console, Help viewer. You can customize the interface to suit your prefference and needs some of which include, rearrange, undock, hide panes. Feel free to set up Spyder as you like.
### Editor
This pane is used to write your scripts. The

1. The left sidebar shows line numbers and displays any code analysis warnings that exist in the current file. Clicking a line number selects the text on that line, and clicking to the right of it sets a [breakpoint](https://docs.spyder-ide.org/5/panes/debugging.html#debugging-breakpoints).
2. The scrollbars allow vertical and horizontal navigation in a file.
3. The context (right-click) menu displays actions relevant to whatever was clicked.
4. The options menu (“Hamburger” icon at top right) includes useful settings and actions relevant to the Editor.
5. The location bar at the top of the Editor pane shows the full path of the current file.
6. The tab bar displays the names of all opened files. It also has a Browse tabs button (at left) to show every open tab and switch between them—which comes in handy if many are open.
### IPython Console
The "I" stands for interactive. This pane allows you to interactively run functions, perform math computations, assign and modify variables.

- Automatic code completion
- Real-time function calltips
- Full GUI integration with the enhanced Spyder [Debugger](https://docs.spyder-ide.org/5/panes/debugging.html).
- The [Variable Explorer](https://docs.spyder-ide.org/5/panes/variableexplorer.html), with GUI-based editors for many built-in and third-party Python objects.
- Display of Matplotlib graphics in Spyder’s [Plots](https://docs.spyder-ide.org/5/panes/plots.html) pane, if the Inline backend is selected under `Preferences` > `IPython console` > `Graphics` > `Graphics backend`, and inline in the console if Mute inline plotting is unchecked under the Plots pane’s options menu.
### Variable Explorer
This pane shows all the defined variables (objects) stored. This can be used to identify the data type of variables, the size and inspect larger arrays. Double clicking the value cell opens up a window which allowing you to inspect the data in a spreadsheet like view.

|