|
| 1 | +{ |
| 2 | + "cells": [ |
| 3 | + { |
| 4 | + "cell_type": "markdown", |
| 5 | + "metadata": { |
| 6 | + "editable": true, |
| 7 | + "slideshow": { |
| 8 | + "slide_type": "" |
| 9 | + }, |
| 10 | + "tags": [] |
| 11 | + }, |
| 12 | + "source": [ |
| 13 | + "<figure>\n", |
| 14 | + " <IMG SRC=\"https://raw.githubusercontent.com/mbakker7/exploratory_computing_with_python/master/tudelft_logo.png\" WIDTH=250 ALIGN=\"right\">\n", |
| 15 | + "</figure>\n", |
| 16 | + "\n", |
| 17 | + "# Exploratory Computing with Python\n", |
| 18 | + "*Developed by Mark Bakker*" |
| 19 | + ] |
| 20 | + }, |
| 21 | + { |
| 22 | + "cell_type": "markdown", |
| 23 | + "metadata": { |
| 24 | + "editable": true, |
| 25 | + "slideshow": { |
| 26 | + "slide_type": "" |
| 27 | + }, |
| 28 | + "tags": [] |
| 29 | + }, |
| 30 | + "source": [ |
| 31 | + "## Notebook 1: Basics and Plotting\n", |
| 32 | + "### First Python steps\n", |
| 33 | + "\"Portable, powerful, and a breeze to use\", Python is a popular, open-source programming language used for both scripting applications and standalone programs (see \"Learning Python\" by Mark Lutz). Python can be used to do pretty much anything. For example, you can use Python as a calculator. Position your cursor in the code cell below and hit [shift][enter]. The output should be 12 (-:" |
| 34 | + ] |
| 35 | + }, |
| 36 | + { |
| 37 | + "cell_type": "code", |
| 38 | + "execution_count": 1, |
| 39 | + "metadata": {}, |
| 40 | + "outputs": [ |
| 41 | + { |
| 42 | + "data": { |
| 43 | + "text/plain": [ |
| 44 | + "12" |
| 45 | + ] |
| 46 | + }, |
| 47 | + "execution_count": 1, |
| 48 | + "metadata": {}, |
| 49 | + "output_type": "execute_result" |
| 50 | + } |
| 51 | + ], |
| 52 | + "source": [ |
| 53 | + "6 * 2" |
| 54 | + ] |
| 55 | + }, |
| 56 | + { |
| 57 | + "cell_type": "code", |
| 58 | + "execution_count": null, |
| 59 | + "metadata": { |
| 60 | + "editable": true, |
| 61 | + "slideshow": { |
| 62 | + "slide_type": "" |
| 63 | + }, |
| 64 | + "tags": [] |
| 65 | + }, |
| 66 | + "outputs": [], |
| 67 | + "source": [] |
| 68 | + } |
| 69 | + ], |
| 70 | + "metadata": { |
| 71 | + "anaconda-cloud": {}, |
| 72 | + "kernelspec": { |
| 73 | + "display_name": "Python 3 (ipykernel)", |
| 74 | + "language": "python", |
| 75 | + "name": "python3" |
| 76 | + }, |
| 77 | + "language_info": { |
| 78 | + "codemirror_mode": { |
| 79 | + "name": "ipython", |
| 80 | + "version": 3 |
| 81 | + }, |
| 82 | + "file_extension": ".py", |
| 83 | + "mimetype": "text/x-python", |
| 84 | + "name": "python", |
| 85 | + "nbconvert_exporter": "python", |
| 86 | + "pygments_lexer": "ipython3", |
| 87 | + "version": "3.13.7" |
| 88 | + }, |
| 89 | + "latex_envs": { |
| 90 | + "LaTeX_envs_menu_present": true, |
| 91 | + "autoclose": false, |
| 92 | + "autocomplete": true, |
| 93 | + "bibliofile": "biblio.bib", |
| 94 | + "cite_by": "apalike", |
| 95 | + "current_citInitial": 1, |
| 96 | + "eqLabelWithNumbers": true, |
| 97 | + "eqNumInitial": 1, |
| 98 | + "hotkeys": { |
| 99 | + "equation": "Ctrl-E", |
| 100 | + "itemize": "Ctrl-I" |
| 101 | + }, |
| 102 | + "labels_anchors": false, |
| 103 | + "latex_user_defs": false, |
| 104 | + "report_style_numbering": false, |
| 105 | + "user_envs_cfg": false |
| 106 | + }, |
| 107 | + "varInspector": { |
| 108 | + "cols": { |
| 109 | + "lenName": 16, |
| 110 | + "lenType": 16, |
| 111 | + "lenVar": 40 |
| 112 | + }, |
| 113 | + "kernels_config": { |
| 114 | + "python": { |
| 115 | + "delete_cmd_postfix": "", |
| 116 | + "delete_cmd_prefix": "del ", |
| 117 | + "library": "var_list.py", |
| 118 | + "varRefreshCmd": "print(var_dic_list())" |
| 119 | + }, |
| 120 | + "r": { |
| 121 | + "delete_cmd_postfix": ") ", |
| 122 | + "delete_cmd_prefix": "rm(", |
| 123 | + "library": "var_list.r", |
| 124 | + "varRefreshCmd": "cat(var_dic_list()) " |
| 125 | + } |
| 126 | + }, |
| 127 | + "types_to_exclude": [ |
| 128 | + "module", |
| 129 | + "function", |
| 130 | + "builtin_function_or_method", |
| 131 | + "instance", |
| 132 | + "_Feature" |
| 133 | + ], |
| 134 | + "window_display": false |
| 135 | + }, |
| 136 | + "widgets": { |
| 137 | + "state": {}, |
| 138 | + "version": "1.1.2" |
| 139 | + } |
| 140 | + }, |
| 141 | + "nbformat": 4, |
| 142 | + "nbformat_minor": 4 |
| 143 | +} |
0 commit comments