你将学到什么
Retrieve data from websites and APIs using Python
Understand the protocols web browsers use to retrieve documents and web apps
Use regular expressions to extract data from strings
Work with XML (eXtensible Markup Language) data
课程概况
This course will show how one can treat the Internet as a source of data. We will scrape, parse, and read web data as well as access data using web APIs. We will work with HTML, XML, and JSON data formats in Python. This course will cover Chapters 11-13 of the textbook “Python for Everybody”. To succeed in this course, you should be familiar with the material covered in Chapters 1-10 of the textbook and the first two courses in this specialization. These topics include variables and expressions, conditional execution (loops, branching, and try/except), functions, Python data structures (strings, lists, dictionaries, and tuples), and manipulating files. This course covers Python 3.
课程大纲
周1
完成时间为 2 小时
Getting Started
In this section you will install Python and a text editor. In previous classes in the specialization this was an optional assignment, but in this class it is the first requirement to get started. From this point forward we will stop using the browser-based Python grading environment because the browser-based Python environment (Skulpt) is not capable of running the more complex programs we will be developing in this class.
6 个视频 (总计 21 分钟), 5 个阅读材料, 1 个测验
周2
完成时间为 2 小时
Regular Expressions (Chapter 11)
Regular expressions are a very specialized language that allow us to succinctly search strings and extract data from strings. Regular expressions are a language unto themselves. It is not essential to know how to use regular expressions, but they can be quite useful and powerful.
4 个视频 (总计 44 分钟), 1 个阅读材料, 2 个测验
周3
完成时间为 3 小时
Networks and Sockets (Chapter 12)
In this section we learn about the protocols that web browsers use to retrieve documents and web applications use to interact with Application
Program Interfaces (APIs).
8 个视频 (总计 68 分钟), 1 个阅读材料, 2 个测验
周4
完成时间为 4 小时
Programs that Surf the Web (Chapter 12)
In this section we learn to use Python to retrieve data from web sites and APIs over the Internet.
8 个视频 (总计 58 分钟), 1 个阅读材料, 3 个测验
周5
完成时间为 2 小时
Web Services and XML (Chapter 13)
In this section, we learn how to retrieve and parse XML (eXtensible Markup Language) data.
8 个视频 (总计 62 分钟), 2 个测验
周6
完成时间为 4 小时
JSON and the REST Architecture (Chapter 13)
In this module, we work with Application Program Interfaces / Web Services using the JavaScript Object Notation (JSON) data format.