課程信息
4.6
1,801 個評分
645 個審閱
100% online

100% online

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

可靈活調整截止日期

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

初級

完成時間(小時)

完成時間大約為14 小時

建議:4 weeks of study, 4-5 hours/week...
可選語言

英語(English)

字幕:英語(English)...

您將獲得的技能

Python Syntax And SemanticsPython LibrariesComputer ProgrammingPython Programming
100% online

100% online

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

可靈活調整截止日期

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

初級

完成時間(小時)

完成時間大約為14 小時

建議:4 weeks of study, 4-5 hours/week...
可選語言

英語(English)

字幕:英語(English)...

教學大綱 - 您將從這門課程中學到什麼

1
完成時間(小時)
完成時間為 5 小時

Beginning to Program in Python

In this module we introduce writing functions in Python using the convenient Spyder development environment. The lesson begins with instructions on installing the popular Anaconda distribution of Python, which includes Spyder. It continues by showing how to use the editor in Spyder to type in a function and then run it. Each lesson alternates between introducing a concept by example and having the student test his/her understanding by constructing a function similar to that example. The module lecture is contained in a single program source file named Exercises1.py. This file, which should be downloaded by the student at the beginning of the module, contains the complete lecture except the solutions to the ungraded exercises. The student should work each of these before viewing the instructor's solution. By using the unique capability of Spyder (using IPython Notebooks), the program file is segmented into cells each of which can be executed independently of the others. Thus the student does not have to manage multiple program files and finishes with a lecture file with filled-in student exercises that can be used for reference. Python topics included in this module are print statement, arithmetic operators, input statement, combining of strings, if statement, while loop, and for loop. The module ends with a series of small functions to write to be submitted for grading. Grading is done by custom software and should normally take only minutes with no limit to the number of re-submissions. Hopefully, you'll finish with a perfect score....
Reading
10 個視頻(共 67 分鐘), 5 個閱讀材料, 1 個測驗
Video10 個視頻
Introduction to the Spyder IDE10分鐘
Arithmetic operations1分鐘
Our first functions4分鐘
Creating strings and using them in print statements.7分鐘
The "input" statement and combining strings5分鐘
Using the "if" statement11分鐘
Converting strings to numbers. Using the remainder operator10分鐘
Introduction to loops - the "while" loop5分鐘
The "for" loop; tracking down errors6分鐘
Reading5 個閱讀材料
Setting up Spyder10分鐘
Starting Python. Our first lecture and exercise file.10分鐘
Exercises1.py -- the exercise/lecture file for this module.10分鐘
Note about a minor problem with Spyder10分鐘
Practice functions for debugging Python code10分鐘
2
完成時間(小時)
完成時間為 4 小時

Working with Lists and Importing Libraries. The Random library.

Lists, datatypes, libraries, the random library....
Reading
9 個視頻(共 59 分鐘), 1 個閱讀材料, 1 個測驗
Video9 個視頻
Lists continued5分鐘
Stepping through lists using loops2分鐘
Introduction to datatypes3分鐘
Converting datatypes2分鐘
Working with lists of sublists; writing a small report8分鐘
Lists continued9分鐘
Introduction to libraries. The random library.7分鐘
More on Loops and Append10分鐘
Reading1 個閱讀材料
Exercises 2 -- the exercise/lecture file for this module.10分鐘
3
完成時間(小時)
完成時間為 5 小時

Tuples, Data Dictionaries, Text and CSV Files

So far, we have one collection data type, the list. In this module we take up two more: the tuple and the data dictionary. After that we introduce reading and writing text files and give some illustrative examples. Finally, we take up reading and writing Comma Separated Value (CSV) files....
Reading
7 個視頻(共 69 分鐘), 5 個閱讀材料, 1 個測驗
Video7 個視頻
Reading and writing files6分鐘
Running Python Programs (Windows)5分鐘
Installing Environments on a Mac5分鐘
Running Python Programs (Mac)3分鐘
Writing scripts in Python17分鐘
Reading and writing CSV files19分鐘
Reading5 個閱讀材料
Exercises3.py -- The exercise/lecture file for this module.10分鐘
Python files needed for this module.10分鐘
Text and CSV files used during this module.10分鐘
FAQ/Errata: Change in Spyder; Running in a Command Prompt10分鐘
If python does not run, read this file.10分鐘
4
完成時間(小時)
完成時間為 4 小時

Functional Values, Sorting, Formatting, Statistics, and a Menu Driven Database Program

In this lesson, we take up a variety of topics and give an example using much of what we've covered in the course. First, we show how functions can return values. Then we show how to build lists of various types and how to sort these lists. After that we use the statistic library to introduce basic descriptive statistics. Finally, we show how to use formatting in print statements. As a recap, we work through an application making use of what we've learned to build a menu-driven program that maintains a small database....
Reading
10 個視頻(共 62 分鐘), 2 個閱讀材料, 1 個測驗
Video10 個視頻
Descriptive statistics15分鐘
Formatting print statements5分鐘
Starting the database application7分鐘
Displaying the records4分鐘
Adding and deleting records5分鐘
Editing records3分鐘
Saving records to a CSV file1分鐘
Loading the records from the CSV file4分鐘
Running our database application as a stand-alone program2分鐘
Reading2 個閱讀材料
Exercises4.py -- the exercise/lecture file for this module.10分鐘
Additional program and data files needed for this module.10分鐘
4.6
職業方向

28%

完成這些課程後已開始新的職業生涯
工作福利

83%

通過此課程獲得實實在在的工作福利

熱門審閱

創建者 LRJan 4th 2017

Quite interesting introduction to Python, focusing on the most important components of the language. Looking forward to other courses using the same format. Thank you Bill and team for your hard work.

創建者 SADec 31st 2017

It is well done but it is very basic. The method is good since we get the basic programs to work with them and follow the lectures. The instructor explains things in a detailed and clear manner.

講師

Avatar

Bill Boyd

Visiting Associate Professor and Visiting Scholar
Quantitative Analysis Center

關於 Wesleyan University

At Wesleyan, distinguished scholar-teachers work closely with students, taking advantage of fluidity among disciplines to explore the world with a variety of tools. The university seeks to build a diverse, energetic community of students, faculty, and staff who think critically and creatively and who value independence of mind and generosity of spirit. ...

常見問題

  • 注册以便获得证书后,您将有权访问所有视频、测验和编程作业(如果适用)。只有在您的班次开课之后,才可以提交和审阅同学互评作业。如果您选择在不购买的情况下浏览课程,可能无法访问某些作业。

  • 您购买证书后,将有权访问所有课程材料,包括评分作业。完成课程后,您的电子课程证书将添加到您的成就页中,您可以通过该页打印您的课程证书或将其添加到您的领英档案中。如果您只想阅读和查看课程内容,可以免费旁听课程。

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