A text editor creates and modifies text-based files. In Spyder, the file editor is the pane where you write Python programs, save them, and run them; the console is better for quickly testing individual commands. section 3.2 section 3.3
A simple editor workflow is:
- Open a new file in the editor. section 3.3
- Write a program in the file rather than entering each command separately in the console. section 3.2
- Save the file, then run the program and inspect its output in the console. section 3.3
- Open several files at once; each file appears in its own editor tab. section 3.2
Editor and console together
Use the IPython console to try a small expression such as 3 + 2 and see its result immediately. Put a longer program in the file editor, save it, run it with the green arrow, and use the console to view printed output or inspect values. section 3.2 section 3.3
View the Spyder workspace with expressions in the IPython console and code in the editor. section 3.2

