|
所在平台: Coursera |
课程主页: https://www.coursera.org/learn/interactive-python-1
课程评论:没有评论
课程名称:Python互动编程入门(第一部分) 课程概述:本课程分为两部分,旨在帮助几乎没有计算背景的学生学习构建简单互动应用的基础知识。我们选择的编程语言是Python,这是一种易于学习的高级计算机语言,广泛应用于Coursera上的许多计算课程。为了简化学习过程,我们开发了一种新的基于浏览器的编程环境,使得在Python中开发互动应用变得简单。这些应用涉及的内容包括响应按钮、键盘和鼠标的图形窗口。 在本课程的第一部分中,我们将介绍编程的基本元素(如表达式、条件语句和函数),并利用这些元素创建简单的互动应用,例如数字秒表。课程的最后将完成经典街机游戏“乒乓”的构建。 课程大纲: - 第0周:语句、表达式、变量 - 了解课程结构,探索Python作为计算器的用法。 - 第1周:函数、逻辑、条件语句 - 学习Python编程的基本构件,创建一个变种的石头剪子布游戏。 - 第2周:事件驱动编程、局部/全局变量 - 学习事件驱动编程的基础,理解局部变量与全局变量的区别,创建一个简单的猜数字游戏。 - 第3周:画布、绘图、计时器 - 在Python中创建画布,学习如何在画布上绘图,制作数字秒表。 - 第4周:列表、键盘输入、运动建模基础 - 学习Python中列表的基础知识,建模运动中的物体,重现经典街机游戏“乒乓”。 通过本课程,学生将能够掌握Python的基本编程技能,并能够创建互动应用程序。
Part: 1
Title:Week 0 - Statements, expressions, variables
Description:Understand the structure of this class, explore Python as a calculator
Part: 2
Title:Week 1 - Functions, logic, conditionals
Description:Learn the basic constructs of Python programming, create a program that plays a variant of Rock-Paper-Scissors
Part: 3
Title:Week 2 - Event-driven programming, local/global variables
Description:Learn the basics of event-driven programming, understand difference between local and global variables, create an interactive program that plays a simple guessing game
Part: 4
Title:Week 3 - Canvas, drawing, timers
Description:Create a canvas in Python, learn how to draw on the canvas, create a digital stopwatch
Part: 5
Title:Week 4 - Lists, keyboard input, the basics of modeling motion
Description:Learn the basics of lists in Python, model moving objects in Python, recreate the classic arcade game "Pong"
This two-part course is designed to help students with very little or no computing background learn the basics of building simple interactive applications. Our language of choice, Python, is an easy-to learn, high-level computer language that is used in many of the computational courses offered on Coursera. To make learning Python easy, we have developed a new browser-based programming environment that makes developing interactive applications in Python simple. These applications will involve windows whose contents are graphical and respond to buttons, the keyboard and the mouse. In part 1 of this course, we will introduce the basic elements of programming (such as expressions, conditionals, and functions) and then use these elements to create simple interactive applications such as a digital stopwatch. Part 1 of this class will culminate in building a version of the classic arcade game "Pong".