{ "cells": [ { "cell_type": "markdown", "metadata": { "editable": true, "slideshow": { "slide_type": "slide" }, "tags": [] }, "source": [ "# Introduction to Python" ] }, { "cell_type": "markdown", "metadata": { "editable": true, "slideshow": { "slide_type": "skip" }, "tags": [] }, "source": [ "**Important Note**: This course was originally designed and developed by [Tom Donoghue](https://tomdonoghue.github.io/). While lectures, assignments, exams and coding labs will be altered from the original run of the course in Fall 2018, *tons* of credit for this course is due to Tom for his awesome work getting this course off the ground.\n" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "fragment" } }, "source": [ "The PDF slides from the start of the first class are available here: https://cogs18.github.io/assets/intro/01_welcome.pdf" ] }, { "cell_type": "markdown", "metadata": { "editable": true, "slideshow": { "slide_type": "slide" }, "tags": [] }, "source": [ "## Logistics\n", "\n", "- Who:\n", " - Instructor: Shannon Ellis \n", " - TA: Yueying, Samyak, Saanya, Prasannakumaran, Kunal, & Jaymes\n", " - IAs: Ana, Abhay, Ashesh, Doris, Elizabeth, Eric, Katherine, Keshav, Laura, Margaret, Nian-Nian, Nick, Nikita, Sandy, & Sophie\n", " \n", "- Where:\n", " - Lectures TuTh @ 11AM (PETER 110) or 2PM (WLH 2001)\n", " - Coding Lab Sections W 9-5; F 9-5 (CSB 115) \n", " - Course Website: https://cogs18.github.io" ] }, { "cell_type": "markdown", "metadata": { "editable": true, "jp-MarkdownHeadingCollapsed": true, "slideshow": { "slide_type": "slide" }, "tags": [] }, "source": [ "## Expectations & Approach\n", "\n", "- Goal: to learn practical programming in Python\n", "- How: hands-on, community driven, skills based course, assignment & project driven\n", "- Lectures & Lab Sections will be used for interactive activities\n", "- Assignments, coding labs & a final project will be designed to get you coding" ] }, { "cell_type": "markdown", "metadata": { "editable": true, "slideshow": { "slide_type": "slide" }, "tags": [] }, "source": [ "## Why Learn Computation?" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "fragment" } }, "source": [ "- Computation is how things are done" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "fragment" } }, "source": [ "- Computation is the foundation of much of the modern world" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "slide" } }, "source": [ "## What is Python\n" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "fragment" } }, "source": [ "- Python is a programming language\n", " - It is a way to do computation\n", " - It gets the computer to do the work for you" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "fragment" } }, "source": [ "- Python is an ecosystem\n", " - It is a culture of practice for computation" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "slide" } }, "source": [ "## What does Python look like" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "scrolled": true, "slideshow": { "slide_type": "fragment" } }, "outputs": [], "source": [ "variable_name = \"variable name.\"\n", "print(variable_name)" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "editable": true, "slideshow": { "slide_type": "fragment" }, "tags": [] }, "outputs": [], "source": [ "a = 1\n", "b = 2\n", "\n", "c = a + b\n", "\n", "print(c)" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "slide" } }, "source": [ "## Why Choose Python?" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "fragment" } }, "source": [ "- Python is a powerful, well developed, and well supported tool" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "fragment" } }, "source": [ "- Python is general purpose, with an immense, multi-purpose ecosystem" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "fragment" } }, "source": [ "- Python is human focused, with a strong user & developer community " ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "fragment" } }, "source": [ "- Python is open-source and accessible" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "slide" } }, "source": [ "## This is a Jupyter Notebook" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "fragment" } }, "source": [ "Uses in COGS 18:\n", "\n", "- lecture notes\n", "- assignments\n", "- coding labs\n", "- final project/exam" ] } ], "metadata": { "celltoolbar": "Slideshow", "kernelspec": { "display_name": "Sp24", "language": "python", "name": "pyenv" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.11.7" }, "rise": { "scroll": true } }, "nbformat": 4, "nbformat_minor": 4 }