This page contains links to all of the lessons that form part of our introductory ‘Code Camp’ for first-time programmers. You should have already completed the Setting Up page and have Anaconda Python and Jupyter read to go!
About the Lessons
The lessons are all hosted on a code-sharing web site called GitHub which allows us to create and maintain versions of the introductory notebooks. But to make life easy for you we are linking to each notebook separately here so that you can download and save the file directly to the right location.
As noted on the ‘Getting Started’ page, we suggest you create a folder named ‘Code Camp’ in your Dropbox folder and save all of these notebooks into that folder. Note: you will need to
Ctrl+Click on the links below in order to save them to your Code Camp folder.
- Lesson #1: Getting Started
- Lesson #2: Thinking Like a Computer (Paths & Terminals)
- Lesson #3: The Basics
- Lesson #4: Dealing with Errors & Debugging
- Lesson #5: Truth with Conditions
- Lesson #6: Lists
- Lesson #7: Dictionaries
- Lesson #8: Loops & Iteration
- Lesson #9: Introduction to Functions
- Lesson #10: Wrapping Up (Style)
Very Important Note: Kernel not found
Because of some changes to the way that Anaconda Python handles Python 2 and Python 3 (both can be used together on the same computer and our own computers have been upgraded from Anaconda 3 to Anaconda 4) when you start up one of the notebooks above you may see what appears to be a very serious error: “Kernel not found”! Sounds scary, what to do???
This is really easy to solve: notice that you’re being invited to select a kernel from a drop-down menu on the right. If you click on the drop-down you will probably have a very short list (possibly of just one or two options) from which to choose. One of the following three options (in this order of preference) will almost certainly work: “Python 3”, “Python [Root]”, or “Python [Default]”.
What is happening is that a computer can be configured to run many different versions of Python (with many different modules… more on what those are later). This is asking you to pick which version you want to use. Right now, it doesn’t matter as long as you can pick a kernel and then click “Set Kernel”.
If you still have issues, there’s Slack.
The content and structure of this teaching project itself is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 license, and the contributing source code is licensed under The MIT License.
More about Git & Github
We’ve mentioned that Code Camp is stored on Github, but what the heck is that???
Github is a website used to store version histories of files containing code; you can think of it as a “Dropbox for programmers”, but it also allows you to easily compare two different versions of your code, to ‘roll back’ to an earlier version (if you break something), and to ‘clone’ or ‘fork’ from work being done and shared by others. Github can do much more than this, but for the moment being let’s stop here. If you are interested in learning more about Git and Github check out these resources: