@extends('template') @section('title') Lab 1: Thonny, Python, Notebooks, and Exercises @stop @section('content') # Lab 1: Thonny, Python, Notebooks, and Exercises {{-- ##[Solutions](/content/labs/lab01/solutions/) --}} ## Goals {{-- A cartoon mouse labeled 'python' and a penguin labeled 'cs111' smiling and holding hands. The mouse is wearing a mortar board with a tassel and the penguin is wearing a red scarf. ### Try to be a good partner Throughout today's lab (and our remaining labs), you will work with a partner. Typically, you and your partner would share the keyboard, swapping it back and forth. You will ask each other questions and offer each other support. Your job is to make sure that you both understand something before moving on. We encourage you to be kind and open-minded. --}} ### High-level overview of today's lab In today's lab you will: 1. Learn how to use Thonny, which is the Integrated Development Environment (ID) that we'll use this semester to edit our code. 2. Learn a few Python basics to write simple Thonny programs. {{-- 2. Practice submitting a project, using [the Potluck server](https://cs.wellesley.edu/potluck). --}} 3. Write some simple programs that draw pictures and create music 4. Learn how to use two kinds of Jupyter notebooks: * The kind used in lectures does not have any grading associated with it. * The kind used in exercises uses the Potluck system to grade and record your work {{-- 4. Learn how to use exercise notebooks --}} 5. (If time allows) Install Thonny on your laptop. 5. (If time allow) Get a head start on learning some Python basics from Lecture 02. {{--

A graphic showing a high level overview of today's lab: getting the starter code, writing code in Thonny, and then, when working on a project, uploading files to the submission server --}} ### Ready? Let's grab the starter code for today's lab Click on this link to download the code for today. ### Wait, where should you put this `lab01` folder? On the lab computer, you should create a `cs111 folder`. This will help you keep your files organized. On your Mac's desktop, follow these steps: 1. File > New Folder 2. Rename the folder `cs111` 3. Click on the link above (the one that says "Click on this link") and it will automatically download the `lab01` folder to the Downloads folder of the lab Mac. 4. Go to your `Downloads` folder and double-click the `lab01.zip` file to open it. This will create a `lab01` folder in your `Downloads` folder 5. Move the newly created `lab01` folder to the `cs111` folder on your Desktop. 6. Ok, now you are ready to start programming! This 22-second video shows how to create a 111 folder on your Desktop and then download the lab01 folder and move it into your 111 folder. @include('/labs/lab01/_toc') @stop