2014年6月12日 星期四

Coursera, Python course


到目前為止,「最佳」入門 到 中級 課程!

非常值得投入時間。

Learn to Program: The Fundamentals
by Jennifer Campbell, Paul Gries



This course provides an introduction to computer programming intended for people with no programming experience. It covers the basics of programming in Python including elementary data types (numeric types, strings, lists, dictionaries and files), control flow, functions, objects, methods, fields and mutability. Here is a tentative list of topics.


WeekTopics
1Installing Python, IDLE, mathematical expressions, variables, assignment statement, calling and defining functions, syntax and semantic errors
2Strings, input/output, function reuse, function design recipe, docstrings
3Booleans, import, namespaces, if statements
4for loops, fancy string manipulation
5while loops, lists, mutability
6for loops over indices, parallel lists and strings, files
7tuples, dictionaries

特別推薦其中 2 段

Function Design Recipe (5:52)
https://class.coursera.org/programming1-002/lecture/36

IDLE's Debugger (4:00)
https://class.coursera.org/programming1-002/lecture/56



:
:
:

Learn to Program: Crafting Quality Code
by Jennifer Campbell, Paul Gries


WeekTopics
1Designing algorithms: how do you decide what to do in a function body? How do you figure out what functions to write in the first place?
2Automated testing: doctest and unittest
3Analyzing code for speed; details of searching and sorting
4Creating new types: classes in Python
5Functions as arguments, Default parameter values, Exceptions














An Introduction 

to Interactive Programming 

with Python




Week Topics Mini-project
0 Statements, expressions, variables ---
1 Functions, logic, conditionals "Rock-Paper-Scissors-Lizard-Spock" game
2 Event-driven programming, local and global variables, buttons and input fields "Guess the Number" game
3 The canvas, static drawing, timers, interactive drawing Stopwatch: The Game
4 Lists, keyboard input, motion, positional/velocity control "Pong" game
5 Mouse input, more lists, dictionaries, images "Memory" game
6 Classes, tiled images "Blackjack" game
7 Acceleration and friction, spaceship class, sprite class, sound Spaceship from "RiceRocks" game
8 Sets, groups of sprites, collisions, sprite animation Full "RiceRocks" game





沒有留言:

張貼留言