课程信息
专项课程

第 2 门课程(共 5 门)

100% 在线

100% 在线

立即开始,按照自己的计划学习。
可灵活调整截止日期

可灵活调整截止日期

根据您的日程表重置截止日期。
初级

初级

完成时间(小时)

完成时间大约为14 小时

建议:9 hours/week...
可选语言

英语(English)

字幕:英语(English)
专项课程

第 2 门课程(共 5 门)

100% 在线

100% 在线

立即开始,按照自己的计划学习。
可灵活调整截止日期

可灵活调整截止日期

根据您的日程表重置截止日期。
初级

初级

完成时间(小时)

完成时间大约为14 小时

建议:9 hours/week...
可选语言

英语(English)

字幕:英语(English)

教学大纲 - 您将从这门课程中学到什么

1
完成时间(小时)
完成时间为 6 小时

Files and CSV Output

In week one the video lectures and the Runestone textbook will introduce you to the idea of incorporating files into your programs as an additional source of data. You will learn how to read from a file, write to a file, and how to work with the .csv data format....
Reading
13 个视频 (总计 85 分钟), 14 个阅读材料, 3 个测验
Video13 个视频
How to Use the Interactive Textbook14分钟
Introduction: Files1分钟
Reading a File9分钟
Finding a File in Your File System6分钟
Writing to a File7分钟
Using With to Open Files5分钟
Conclusion: Files1分钟
Introduction: .csv Format3分钟
Reading a .csv File8分钟
Writing Data to a .csv File10分钟
Tips on File Naming2分钟
Conclusion: .csv Format1分钟
Reading14 个阅读材料
Syllabus10分钟
Help Us Learn More About You!10分钟
Introduction: Working with Data Files10分钟
Reading a File10分钟
Alternative File Reading Methods10分钟
Iterating Over Lines in a File10分钟
Finding a File in your File System10分钟
Writing to a File10分钟
Using With to Open Files10分钟
Recipe for Reading and Processing a File10分钟
CSV Format10分钟
Reading a .csv File10分钟
Writing Data to a .csv File10分钟
Tips on Handling Files10分钟
Quiz1 个练习
Optional - What Did You Use to Practice This Week?4分钟
2
完成时间(小时)
完成时间为 6 小时

Dictionaries and Dictionary Accumulation

In week two the video lectures and the Runestone textbook will focus on a new data type, dictionaries. You will be introduced to the mechanics of dictionaries and then get practice using them in accumulation patterns, both to build a dictionary using the pattern as well as find the best, or worst, result using the pattern....
Reading
10 个视频 (总计 77 分钟), 9 个阅读材料, 4 个测验
Video10 个视频
Demonstration: Dictionary Basics4分钟
Dictionary Operations7分钟
Dictionary Methods12分钟
Demonstration: Dictionary Methods3分钟
Aliasing and Copying with Dictionaries3分钟
Dictionary Accumulation13分钟
Demonstration: Dictionary Accumulation5分钟
Accumulating Results From a Dictionary12分钟
Demonstration: Accumulating Results From a Dictionary7分钟
Reading9 个阅读材料
Introduction: Dictionary Learning Goals10分钟
Introduction: Dictionaries10分钟
Dictionary Operations10分钟
Dictionary Methods10分钟
Aliasing and Copying10分钟
Introduction: Accumulating Multiple Results in a Dictionary10分钟
Accumulating Results From a Dictionary10分钟
Accumulating the Best Key10分钟
When to Use a Dictionary10分钟
Quiz1 个练习
Optional - What Did You Use to Practice This Week?4分钟
3
完成时间(小时)
完成时间为 8 小时

Functions and Tuples

In week three you will be introduced to the construction of functions. Up to this point, you have used functions in the programs before, but have not had a chance to write your own functions, including how to define a function, how to incorporate parameters, how to return data from a function, the local or global scope of variables, and potential side effects that could occur from function execution. Finally, we look at tuples more in depth, and how automatic packing and unpacking of tuples can be used in functions and in for loops....
Reading
16 个视频 (总计 81 分钟), 19 个阅读材料, 4 个测验
Video16 个视频
Defining Functions5分钟
Positional Parameter Passing6分钟
Returning Values12分钟
Way of the Programmer: Decoding a Function4分钟
A Function that Accumulates8分钟
Conclusion: Functions59s
Introduction: Variable Scoping and Side Effects48s
Local and Global Variables9分钟
Function Composition10分钟
Mutable Objects and Side Effects5分钟
Conclusion: Variable Scoping and Side Effects1分钟
Introduction: Tuple Packing and Unpacking40s
Tuple Packing3分钟
Tuple Assignment with Unpacking8分钟
Conclusion: Tuple Packing and Unpacking39s
Reading19 个阅读材料
Introduction to Functions10分钟
Function Definition10分钟
Function Invocation10分钟
Function Parameters10分钟
Returning a Value from a Function10分钟
Decoding a Function10分钟
A Function that Accumulates10分钟
Local Variables10分钟
Global Variables10分钟
Function Composition10分钟
Flow of Execution Summary10分钟
Print vs. Return10分钟
Passing Mutable Objects10分钟
Side Effects10分钟
Introduction10分钟
Tuple Packing10分钟
Tuples as Return Values10分钟
Tuple Assignment with Unpacking10分钟
Unpacking Into Iterator Variables10分钟
Quiz1 个练习
Optional - What Did You Use to Practice This Week?4分钟
4
完成时间(小时)
完成时间为 6 小时

More Iteration and Advanced Functions

In week four the video lectures and the Runestone textbook will outline a more advanced iteration mechanism, the while loop. You will be introduced to using it when getting feedback from users, as well as applying it to the turtle module to draw images. Additionally, you will also be exposed to more advanced function concepts such as the idea of parameters being optional, not required, and anonymous functions using lambda....
Reading
7 个视频 (总计 49 分钟), 10 个阅读材料, 4 个测验
Video7 个视频
The Listener Loop7分钟
Break and Continue5分钟
Way of the Programmer: Infinite Loops4分钟
Optional Parameters4分钟
Keyword Parameters7分钟
Anonymous Functions with Lambda Expressions5分钟
Reading10 个阅读材料
Introduction10分钟
The While Statement10分钟
The Listener Loop10分钟
Randomly Walking Turtles10分钟
Break and Continue10分钟
Infinite Loops10分钟
Introduction: Optional Parameters10分钟
Keyword Parameters10分钟
Anonymous Function with Lambda Expressions10分钟
Programming With Style10分钟
Quiz1 个练习
Optional - What Did You Use to Practice This Week?4分钟

讲师

Avatar

Paul Resnick

Michael D. Cohen Collegiate Professor
School of Information
Avatar

Steve Oney

Assistant Professor
School of Information
Avatar

Jaclyn Cohen

Lecturer
School of Information

关于 University of Michigan

The mission of the University of Michigan is to serve the people of Michigan and the world through preeminence in creating, communicating, preserving and applying knowledge, art, and academic values, and in developing leaders and citizens who will challenge the present and enrich the future....

关于 Python 3 Programming 专项课程

This specialization teaches the fundamentals of programming in Python 3. We will begin at the beginning, with variables, conditionals, and loops, and get to some intermediate material like keyword parameters, list comprehensions, lambda expressions, and class inheritance. You will have lots of opportunities to practice. You will also learn ways to reason about program execution, so that it is no longer mysterious and you are able to debug programs when they don’t work. By the end of the specialization, you’ll be writing programs that query Internet APIs for data and extract useful information from them. And you’ll be able to learn to use new modules and APIs on your own by reading the documentation. That will give you a great launch toward being an independent Python programmer. This specialization is a good next step for you if you have completed Python for Everybody but want a more in-depth treatment of Python fundamentals and more practice, so that you can proceed with confidence to specializations like Applied Data Science with Python. But it is also appropriate as a first set of courses in Python if you are already familiar with some other programming language, or if you are up for the challenge of diving in head-first....
Python 3 Programming

常见问题

  • Once you enroll for a Certificate, you’ll have access to all videos, quizzes, and programming assignments (if applicable). Peer review assignments can only be submitted and reviewed once your session has begun. If you choose to explore the course without purchasing, you may not be able to access certain assignments.

  • When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile. If you only want to read and view the course content, you can audit the course for free.

还有其他问题吗?请访问 学生帮助中心