From 652f88728eb91bae1c4f30b63d1fbe60788ea938 Mon Sep 17 00:00:00 2001 From: Christian Kolset Date: Thu, 24 Apr 2025 16:25:31 -0600 Subject: Added jupyter notebook converter script. Converts markdown (.md) tutorials to jupyter notebook (.ipynb). --- .../notebook_1/spyder_getting_started.ipynb | 104 +++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 tutorials/module_1/notebook_1/spyder_getting_started.ipynb (limited to 'tutorials/module_1/notebook_1/spyder_getting_started.ipynb') 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", + "
\n", + "\n", + "
Spyder Interface
\n", + "
\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", + "
\n", + "\n", + "
Editor key components
\n", + "
\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", + "
\n", + "\n", + "
IPython Console
\n", + "
\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", + "
\n", + "\n", + "
Variable Explorer
\n", + "
" + ], + "id": "f2de8d6b-7248-4687-81eb-a382f5554810" + } + ], + "nbformat": 4, + "nbformat_minor": 5, + "metadata": {} +} -- cgit v1.2.3