{ "cells": [ { "cell_type": "markdown", "id": "c8b3ccce", "metadata": {}, "source": [ "# [Building a dataset of Python versions with regular expressions](https://www.dataschool.io/web-scraping-with-regex/)" ] }, { "cell_type": "markdown", "id": "327aa069", "metadata": {}, "source": [ "[Python Documentation by Version](https://www.python.org/doc/versions/)" ] }, { "cell_type": "code", "execution_count": 1, "id": "068029f6", "metadata": {}, "outputs": [], "source": [ "import requests" ] }, { "cell_type": "code", "execution_count": 2, "id": "07c1652b", "metadata": {}, "outputs": [], "source": [ "r = requests.get('https://www.python.org/doc/versions/')" ] }, { "cell_type": "code", "execution_count": 3, "id": "4872696c", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "

Python Documentation by Version

\n", "

Some previous versions of the documentation remain available\n", "online. Use the list below to select a version to view.

\n", "

For unreleased (in development) documentation, see\n", "In Development Versions.

\n", "