Free Python Books / Tutorials

Share and discuss resources for use in the classroom

52 posts   Page 1 of 3   1, 2, 3
by Stateside » Sun May 20, 2012 4:17 am
Tutorial used for a small group of third graders.

We will learn about:
Memory and naming
Computer arithmetic
Using and learning libraries
How to make a program
Input and output
Loops and choices
Connecting to the internet
At the end we will have a game we can play.

http://davidbau.com/python/learning.html
Posts: 66
Joined: Sun May 13, 2012 12:26 pm
by Stateside » Sun May 20, 2012 1:21 pm
"Computer Science For Kids was designed to introduce the basics concepts of computer sciences to kids who are starting to learn about computers at school or at home."

Introduces a little Python programming. Written by a computer programmer for his 9 year old son.

http://www.lessaworld.com/kids/ free pdf download
Posts: 66
Joined: Sun May 13, 2012 12:26 pm
by Stateside » Sun May 20, 2012 2:10 pm
A Python Program for Autistic Children

Open Autism Software
The activities we designed for a multitouch tablet are social and involve face-to-face interactions. Because we want parents and teachers to be able to use this technology widely, we are making it free and open source. The software can be downloaded for free, and experienced programmers may modify the code we have posted online. In addition, the software runs on commoditized, commercially available hardware.

http://www.divms.uiowa.edu/~hourcade/pr ... index.html
Posts: 66
Joined: Sun May 13, 2012 12:26 pm
by Stateside » Sun May 20, 2012 3:08 pm
"Snake Wrangling for Kids" is a printable electronic book, for children 8 years and older, who would like to learn computer programming. It covers the very basics of programming, and uses the Python 3 programming language to teach the concepts

There are 3 different versions of the book (one for Mac, one for Linux and one for Windows), and the printable 1.4MB PDFs can be downloaded from the Google Code project for free (zipped size is about 1MB):

http://code.google.com/p/swfk/downloads/list
Posts: 66
Joined: Sun May 13, 2012 12:26 pm
by Stateside » Sun May 20, 2012 11:40 pm
Introduction to Computer Science Using Python and Pygame
Python 3.1.
Paul Vincent Craven
Computer Science Department, Simpson College Indianola, Iowa

http://cs.simpson.edu/files/CS_Intro_Book.pdf

Originally posted by by antiloquax » Sun Apr 01, 2012 10:01 pm
This is an excellent book on Python.
Posts: 66
Joined: Sun May 13, 2012 12:26 pm
by Stateside » Sun May 20, 2012 11:51 pm
Computer Science With Python and Pygame 2nd edition
Dr. Paul Vincent Craven

http://cs.simpson.edu/cmsc150/

Originally posted by by bobba_dwj » Mon Apr 02, 2012 11:46 am
Heading : This is an excellent book on Python

by professorcraven » Mon Apr 02, 2012 1:51 pm
Thanks for the mention of my book. The second non-PDF link has the most recent copy. I'll be retiring the PDF link this summer. The on-line version has videos, code animations, and quizzes.

I hope to expand it a lot over the next year. If you like it, send me an e-mail. I like to attach the e-mails when I apply for grants.

The raspberry pi computer would be a good base for a cheap computer to teach students programming.
Posts: 66
Joined: Sun May 13, 2012 12:26 pm
by Stateside » Mon May 21, 2012 12:11 am
Two free Ebooks
“Invent Your Own Computer Games with Python” is a free book (as in, open source) and a free eBook (as in, no cost to download) that teaches you how to program in the Python programming language. Each chapter gives you the complete source code for a new game, and then teaches the programming concepts from the example.

Making Games with Python & Pygame” covers the Pygame library with the source code for 11 games. “Making Games” was written as a sequel for the same age range as “Invent with Python”. Once you have an understanding of the basics of Python programming, you can now expand your abilities using the Pygame library to make games with graphics, animation, and sound.

http://inventwithpython.com/

Originally posted by by iDaemon » Fri Jan 20, 2012 8:39 pm
Heading: learning python?
Posts: 66
Joined: Sun May 13, 2012 12:26 pm
by Stateside » Mon May 28, 2012 1:06 am
University of Southampton Student Robotics 2012 Competition
website has Python tutorials https://www.studentrobotics.org/

Student Robotics is an exciting competition, held at the University of Southampton, between teams of students from sixth form schools and colleges, to build fully autonomous robots
Student Robotics robots are all programmed in Python
Student Robotics 2012 is over! After much hard work, hacking, and bodging, twenty teams from sixteen UK schools across five counties, and three countries came together to pit their robotic creations in a mammoth battle of wits.

Results

Prize Team
1st Place "The Hitchhikers" - Peter Symmond's College, Winchester
2nd Place "Systemetric" - Hills Road Sixth Form College, Cambridge
3rd Place Brockenhurst College, Brockenhurst
Committee Award Queen Mary's College, Basingstoke
Outstanding Team "Aslan" - Peter Symmond's College, Winchester
Online Presence "MFG Robotics" - Mirfield Free Grammar, Huddersfield
First Robot Movement "MFG Robotics" - Mirfield Free Grammar, Huddersfield
Posts: 66
Joined: Sun May 13, 2012 12:26 pm
by Stateside » Mon May 28, 2012 1:49 am
Combining Python with inexpensive robots is a very effective way of teaching programming at the middle and high school levels. Since Python is easy to understand a constructivist approach is possible - students learn by creating and running simple programs, observing the results, and then modifying their code to fix bugs and add functionality.

PyCon 2011: Python and Robots: Teaching Programming in High School
http://blip.tv/pycon-us-videos-2009-201 ... ol-4898767
Posts: 66
Joined: Sun May 13, 2012 12:26 pm
by Stateside » Mon May 28, 2012 2:25 am
Make your Robot Dance!
by: Christopher Michaud and Joe Finkelstein
Objectives:
Define Functions in Python
Use Functions to create movement routine
Use Iteration to repeat tasks or commands
Identify Syntax rules in Python:
Colons (:)
Tabs

Prior Knowledge:
Students will know how to start IDLE environment and initialize communication with the Scribbler Robot.
Students will have a music selection as an .mp3 file available on thumb drive or in their file area.

Equipment:
1 Computer with IDLE installed for every 2 students
1 Scribbler Robot with Fluke Board for every 2 students

http://nebomusic.net/MyroDance.html
Posts: 66
Joined: Sun May 13, 2012 12:26 pm
by Stateside » Mon May 28, 2012 2:07 pm
Learning Computing With Robots
Fall 2011 Python + Scribbler or Scribbler 2 Edition

http://wiki.roboteducation.org/Learning ... ith_Robots

Free pdf
Posts: 66
Joined: Sun May 13, 2012 12:26 pm
by Stateside » Mon May 28, 2012 2:21 pm
University of California,San Diego
RCSE 87 - Introduction to Robotics
Ryan Kastner
The class is centered around programming a simple robot, scribbler, to perform a variety of tasks. It will describe how different sensors and actuators function, and how to use them in concert to execute various jobs. You will program your robot using a language called Python which is very easy to learn and use.
http://cseweb.ucsd.edu/~kastner/teaching/cse87/
Chapters and code are at the bottom of the page
Posts: 66
Joined: Sun May 13, 2012 12:26 pm
by Stateside » Thu Jun 07, 2012 1:05 am
The Society of Women Engineers (SWE) Boston Professional Section is excited to offer a Robotics Course for girls in grades 6 thru 8.The course will focus on programming basic behaviors using a programming language called Python.

Class notes- click on blue text .

http://sweboston.org/robotics/
Posts: 66
Joined: Sun May 13, 2012 12:26 pm
by Stateside » Mon Jun 11, 2012 12:37 am
Pen Lifter for the Scribbler Robots.

http://www.youtube.com/watch?v=fmWdrLq2 ... Hjbp5pMd3Q

In this episode we show you how you can easily create a pen lifter for your Scribbler robot from Parallax Inc. The concepts shown here also apply to the Scribbler 2 robot.
Posts: 66
Joined: Sun May 13, 2012 12:26 pm
by Stateside » Mon Jun 11, 2012 1:15 am
Advanced Scribbler 2 robot pen lifter kit

http://forums.parallax.com/showthread.p ... lifter-kit
Posts: 66
Joined: Sun May 13, 2012 12:26 pm
by Stateside » Wed Jun 13, 2012 1:55 am
Examples of Python programs created by a High School student:

Truck Drawing Program
http://www.patrickmccabemakes.com/Patri ... awing.html

Fast Food Restaurant Simulation
http://www.patrickmccabemakes.com/Patri ... tFood.html

Python Math Formulas
This program calculates the area of a rectangle, the hypotenuse of a right triangle,
the area of a circle, and the surface area of a sphere, given input from a user
http://www.patrickmccabemakes.com/Patri ... mulas.html

Rock Paper Scissors
The purpose of this program is to play rock, paper, scissors with a user
http://www.patrickmccabemakes.com/Patri ... onRPS.html

Various Robot Programs
http://www.patrickmccabemakes.com/Patri ... tware.html
Posts: 66
Joined: Sun May 13, 2012 12:26 pm
by Stateside » Wed Jun 20, 2012 11:08 pm
Programming Robots with Python on a slightly larger scale.
An example of the "scalability " (grin ) of the Python programming language.

http://hacknmod.com/hack/wiimote-contro ... -claw-arm/

An inspiration for the young Python robot programmer.
Posts: 66
Joined: Sun May 13, 2012 12:26 pm
by morphy_richards » Thu Jun 21, 2012 11:01 am
Stateside wrote:
http://hacknmod.com/hack/wiimote-contro ... -claw-arm/

An inspiration for the young Python robot programmer.


Awesome!
Do they sell those in Maplin as well? :D
User avatar
Posts: 886
Joined: Mon Mar 05, 2012 3:26 pm
Location: London
by Stateside » Sun Jun 24, 2012 11:53 am
How to Develop a Simple Python Program
Computational Thinking and Doing

Demo Program: Calories Due to Fat

Uses Python 3
http://www.cs.arizona.edu/~mccann/develop_python.html
Posts: 66
Joined: Sun May 13, 2012 12:26 pm
by Stateside » Thu Jun 28, 2012 2:28 am
Teaching Computer Programming to High School students:
An introductory course using Python as the high level language

Joseph Mack

http://www.austintek.com/python_class/
Posts: 66
Joined: Sun May 13, 2012 12:26 pm
by DavidEngel » Fri Jun 29, 2012 9:19 pm
I used Learn Python the Hard Way by Zed Shaw to get my first taste of Python.

I found the exercises very helpful, and found it was all well explained. The comments section below each exercise was nice in case any help was needed, others learning, as well as the author we're very quick to reply with solutions, and provide feedback! I also quite liked browsing code written by others who were learning using the same resource as me. Allowed me to learn new techniques, as well as to gain a better grasp of what I already knew by explaining it to others.

http://learnpythonthehardway.org/book/
Posts: 1
Joined: Fri Jun 29, 2012 9:05 pm
by Stateside » Sun Jul 01, 2012 1:47 am
Olympia High School Game Developers Club

Programmers will learn the Python programming language and the Pygame video game library, and use them to create an interesting video game.

CodeCadet is our club's tutorial system. You can download codecadet3.zip at the bottom of this page. You will need to make sure Python and Pygame are installed on your system first!

https://sites.google.com/site/ohsgamedev/programmers

Magic Drawing Functions
https://sites.google.com/site/ohsgamede ... -functions
Posts: 66
Joined: Sun May 13, 2012 12:26 pm
by Stateside » Sun Jul 01, 2012 12:41 pm
University of Waterloo

The purpose of this website is to teach the basics of Python programming in a semi-interactive fashion

Python 3

http://cscircles.cemc.uwaterloo.ca/using-this-website/
Posts: 66
Joined: Sun May 13, 2012 12:26 pm
by Stateside » Sun Jul 01, 2012 2:45 pm
How to Think Like A Computer Scientist

http://www.openbookproject.net/thinkcs/

3rd Edition (last updated 6/4/12)
The 3rd Edition is a Python 3 version derived from the 2nd Edition by Professor Peter Wentworth for use at Rhodes University in South Africa

Interactive Version :
http://interactivepython.org/courselib/ ... ault/index
Posts: 66
Joined: Sun May 13, 2012 12:26 pm
by BenWiley4000 » Sun Jul 01, 2012 4:06 pm
LEARNPYTHON.ORG

it is the best site. really

I realize that comment may be lost in the sea of things Stateside is posting, and I'm sure those are all helpful, but this is a free tutorial set online, and it is soooo easy to follow. I highly, highly recommend it as an introduction.
Last edited by BenWiley4000 on Sun Jul 01, 2012 4:22 pm, edited 1 time in total.
Posts: 100
Joined: Sun Jun 24, 2012 1:36 am