diff options
| author | Christian Kolset <christian.kolset@gmail.com> | 2025-04-24 16:25:31 -0600 |
|---|---|---|
| committer | Christian Kolset <christian.kolset@gmail.com> | 2025-04-24 16:25:31 -0600 |
| commit | 652f88728eb91bae1c4f30b63d1fbe60788ea938 (patch) | |
| tree | 65cfe591da183b969885e8c557b1ac5810727ec8 /tutorials/module_1/notebook_1/spyder_getting_started.ipynb | |
| parent | 42fca6122f4baf847ec2794b172abbc6a2193407 (diff) | |
Added jupyter notebook converter script. Converts markdown (.md) tutorials to jupyter notebook (.ipynb).
Diffstat (limited to 'tutorials/module_1/notebook_1/spyder_getting_started.ipynb')
| -rw-r--r-- | tutorials/module_1/notebook_1/spyder_getting_started.ipynb | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/tutorials/module_1/notebook_1/spyder_getting_started.ipynb b/tutorials/module_1/notebook_1/spyder_getting_started.ipynb new file mode 100644 index 0000000..aa9edce --- /dev/null +++ b/tutorials/module_1/notebook_1/spyder_getting_started.ipynb @@ -0,0 +1,104 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Getting started with Spyder\n", + "\n", + "In this tutorial we will cover the basics of using the Spyder IDE\n", + "(Interactive Development Environment). If you’ve ever worked with MATLAB\n", + "before, then this will feel familiar. Spyder is a program that allows\n", + "you to write, run and de-bug code.\n", + "\n", + "## Launching Spyder\n", + "\n", + "Using Anaconda we will select the environment we created earlier\n", + "*spyder-dev* and then we can launch spyder from the Home page.\n", + "\n", + "## Spyder Interface\n", + "\n", + "<figure>\n", + "<img\n", + "src=\"https://docs.spyder-ide.org/current/_images/mainwindow_default_1610.png\"\n", + "alt=\"Spyder Interface\" />\n", + "<figcaption aria-hidden=\"true\">Spyder Interface</figcaption>\n", + "</figure>\n", + "\n", + "Once you open up Spyder in it’s default configuration, you’ll see three\n", + "sections; the editor IPython Console, Help viewer. You can customize the\n", + "interface to suit your prefference and needs some of which include,\n", + "rearrange, undock, hide panes. Feel free to set up Spyder as you like.\n", + "\n", + "### Editor\n", + "\n", + "This pane is used to write your scripts. The\n", + "\n", + "<figure>\n", + "<img src=\"https://docs.spyder-ide.org/5/_images/editor-components.png\"\n", + "alt=\"Editor key components\" />\n", + "<figcaption aria-hidden=\"true\">Editor key components</figcaption>\n", + "</figure>\n", + "\n", + "1. The left sidebar shows line numbers and displays any code analysis\n", + " warnings that exist in the current file. Clicking a line number\n", + " selects the text on that line, and clicking to the right of it sets\n", + " a\n", + " [breakpoint](https://docs.spyder-ide.org/5/panes/debugging.html#debugging-breakpoints).\n", + "2. The scrollbars allow vertical and horizontal navigation in a file.\n", + "3. The context (right-click) menu displays actions relevant to whatever\n", + " was clicked.\n", + "4. The options menu (“Hamburger” icon at top right) includes useful\n", + " settings and actions relevant to the Editor.\n", + "5. The location bar at the top of the Editor pane shows the full path\n", + " of the current file.\n", + "6. The tab bar displays the names of all opened files. It also has a\n", + " Browse tabs button (at left) to show every open tab and switch\n", + " between them—which comes in handy if many are open.\n", + "\n", + "### IPython Console\n", + "\n", + "This pane allows you to interactively run functions, do math\n", + "computations, assign and modify variables.\n", + "\n", + "<figure>\n", + "<img src=\"https://docs.spyder-ide.org/5/_images/console-standard.png\"\n", + "alt=\"IPython Console\" />\n", + "<figcaption aria-hidden=\"true\">IPython Console</figcaption>\n", + "</figure>\n", + "\n", + "- Automatic code completion\n", + "- Real-time function calltips\n", + "- Full GUI integration with the enhanced Spyder\n", + " [Debugger](https://docs.spyder-ide.org/5/panes/debugging.html).\n", + "- The [Variable\n", + " Explorer](https://docs.spyder-ide.org/5/panes/variableexplorer.html),\n", + " with GUI-based editors for many built-in and third-party Python\n", + " objects.\n", + "- Display of Matplotlib graphics in Spyder’s\n", + " [Plots](https://docs.spyder-ide.org/5/panes/plots.html) pane, if the\n", + " Inline backend is selected under Preferences ‣ IPython console ‣\n", + " Graphics ‣ Graphics backend, and inline in the console if Mute\n", + " inline plotting is unchecked under the Plots pane’s options menu.\n", + "\n", + "### Variable Explorer\n", + "\n", + "This pane shows all the defined variables (objects) stored. This can be\n", + "used to identify the data type of variables, the size and inspect larger\n", + "arrays. Double clicking the value cell opens up a window which allowing\n", + "you to inspect the data in a spreadsheet like view.\n", + "\n", + "<figure>\n", + "<img\n", + "src=\"https://docs.spyder-ide.org/5/_images/variable-explorer-standard.png\"\n", + "alt=\"Variable Explorer\" />\n", + "<figcaption aria-hidden=\"true\">Variable Explorer</figcaption>\n", + "</figure>" + ], + "id": "f2de8d6b-7248-4687-81eb-a382f5554810" + } + ], + "nbformat": 4, + "nbformat_minor": 5, + "metadata": {} +} |
