使用 Python 访问 Web 数据

Using Python to Access Web Data

本课程是零基础 Python 入门专项课程的其中一门课程(共 5 门课程)

密歇根大学

Coursera

计算机

简单(初级)

12 小时

  • 英语
  • 1693

课程概况

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.

你将学到什么

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

课程大纲

周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.

声明:MOOC中国发布之课程均源自下列机构,版权均归他们所有。本站仅作报道收录并尊重其著作权益,感谢他们对MOOC事业做出的贡献!(排名不分先后)
  • Coursera
  • edX
  • OpenLearning
  • FutureLearn
  • iversity
  • Udacity
  • NovoEd
  • Canvas
  • Open2Study
  • Google
  • ewant
  • FUN
  • IOC-Athlete-MOOC
  • World-Science-U
  • Codecademy
  • CourseSites
  • opencourseworld
  • ShareCourse
  • gacco
  • MiriadaX
  • JANUX
  • openhpi
  • Stanford-Open-Edx
  • 网易云课堂
  • 中国大学MOOC
  • 学堂在线
  • 顶你学堂
  • 华文慕课
  • 好大学在线CnMooc
  • 以及更多...

© 2008-2018 MOOC.CN 慕课改变你,你改变世界