課程信息
專項課程
100% 在線

100% 在線

立即開始,按照自己的計劃學習。
可靈活調整截止日期

可靈活調整截止日期

根據您的日程表重置截止日期。
初級

初級

完成時間(小時)

完成時間大約為15 小時

建議:8 hours/week...
可選語言

英語(English)

字幕:英語(English)
專項課程
100% 在線

100% 在線

立即開始,按照自己的計劃學習。
可靈活調整截止日期

可靈活調整截止日期

根據您的日程表重置截止日期。
初級

初級

完成時間(小時)

完成時間大約為15 小時

建議:8 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: Functions分鐘
Introduction: Variable Scoping and Side Effects分鐘
Local and Global Variables9分鐘
Function Composition10分鐘
Mutable Objects and Side Effects5分鐘
Conclusion: Variable Scoping and Side Effects1分鐘
Introduction: Tuple Packing and Unpacking分鐘
Tuple Packing3分鐘
Tuple Assignment with Unpacking8分鐘
Conclusion: Tuple Packing and Unpacking分鐘
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.

還有其他問題嗎?請訪問 學生幫助中心