1

Этап 1

Getting Started

2

Этап 2

Regular Expressions (Chapter 11)

3

Этап 3

Networks and Sockets (Chapter 12)

4

Этап 4

Programs that Surf the Web (Chapter 12)

5

Этап 5

Web Services and XML (Chapter 13)

6

Этап 6

JSON and the REST Architecture (Chapter 13)

1

Этап 1

Getting Started

2

Этап 2

Regular Expressions (Chapter 11)

3

Этап 3

Networks and Sockets (Chapter 12)

4

Этап 4

Programs that Surf the Web (Chapter 12)

5

Этап 5

Web Services and XML (Chapter 13)

6

Этап 6

JSON and the REST Architecture (Chapter 13)

21 июня 2016 10 июля 2016
Цель завершена 6 июля 2016
Общая

Using Python to Access Web Data by University of Michigan

About this Course

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 Informatics”. 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.

Thank you for enrolling in Using Python to Access Web 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 Informatics'.


We have put a lot of detail about the course into the document titled 'Syllabus' which can be found in Week 1, so please take a moment to review it. Week 1 also contains instructions for installing Python so you can develop and run the programs needed to complete this course. In previous courses, installing Python was optional but as we write more complex programs the Python Playground and auto-grader cannot handle the programs we will write in this class.

If you like what you see, you are welcome to encourage your friends to join the course. We leave registration open for several weeks and delay the first due dates to give late joiners a chance to join and catch up. If you are not joining late, the extended due dates for the first graded quiz and assignment are a good time to 'get ahead' in case later you need to take a week off from the class.

We will try to do live online office hours or face-to-face office hours from time to time so we have a chance to talk one way or another. Keep an eye out in your email for any announcements regarding office hours.

This is the third of four courses in the Python for Everybody specialization. We hope that you are successful in this course and continue with the rest of the courses in the specialization.

Again welcome to the course and best of luck in the class.

 Критерий завершения

прошла весь курс, выполнила все задания

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

    1. Welcome to The Course

    2. Python Textbook

    3. Lecture Slides

    4. Privacy Policy

    5. Welcome to Python - Guido van Rossum

    6. Notes on Python 2.x versus Python 3.x

    7. Notes on Choice of Text Editor

    8. Notes on Choice of Text Editor

    9. Peer Graded Assignment: Installing Python Screen Shots

    10. Review Your Peers: Installing Python Screen Shots

    11. Windows 8: Installing Python and Writing A Program

    12. Windows 8: Taking Screen Shots

  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.

    1. Regular Expressions - Part 1

    2. Regular Expressions - Part 2

    3. Python Regular Expression Quick Guide

    4. Quiz: Quiz: Regular Expressions

    5. Extracting Data With Regular Expressions

    6. Bonus: Office Hours - Den Haag

    7. Bonus Interview: Bjarne Stroustrup - C++

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

    1. Networked Programs

    2. From Sockets to Applications

    3. Let’s Write a Web Browser

    4. If You Want to Learn More

    5. Quiz: Networks and Sockets

    6. Understanding the Request / Response Cycle

    7. Bonus Video: Leonard Kleinrock - The First Two Packets on the ARPANET

    8. Bonus Video: Robert Cailliau - co-Inventor of the Web

    9. Bonus: Office Hours - Atlanta GA (Buckhead)

    10. Fun: Dr. Chuck @ CNN Reading the News

  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.

    1. Understanding HTML

    2. Parsing HTML with BeautifulSoup

    3. Quiz: Reading Web Data From Python

    4. Notes Regarding the Use of Beautiful Soup

    5. Scraping HTML Data with BeautifulSoup

    6. Assignment: Following Links in HTML Using BeautifulSoup

    7. Bonus: Office Hours - Montreal

    8. Bonus Interview: Tim Berners-Lee - Inventing the Web

    9. Fun: I Got My Mojo Working - Geneva, Switzerland

  5. Web Services and XML (Chapter 13)

    In this section, we learn how to retrieve and parse XML (eXtensible Markup Language) data.

    1. Web Services Overview

    2. Interview: Roy Fielding - Understanding the REST Architecture

    3. eXtensible Markup Language - XML

    4. XML Schema

    5. Parsing XML in Python

    6. Quiz: eXtensible Markup Language

    7. Extracting Data from XML

    8. Bonus: Office Hours - Boston

    9. Bonus Video: Ian Horrocks / RDF / OWL (Advanced)

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

    1. JavaScript Object Notation

    2. Interview: Douglas Crockford - Discovering JSON

    3. Service Oriented Approach

    4. Video: Service Oriented Architectures

    5. Accessing APIs in Python

    6. API Security and Rate Limiting

    7. Quiz: REST, JSON, and APIs

    8. Extracting Data from JSON

    9. Using the GeoJSON API

    10. Bonus: Office Hours - Melbourne, AU

    11. Bonus: Office Hours - Santa Monica, CA

    12. Bonus: Class Reunion at Bletchley Park

  • 3179
  • 21 июня 2016, 11:04
Регистрация

Регистрация

Уже зарегистрированы?
Быстрая регистрация через соцсети
Вход на сайт

Входите.
Открыто.

Еще не зарегистрированы?
 
Войти через соцсети
Забыли пароль?