Skip to content

Instantly share code, notes, and snippets.

@bcdejp
Created December 27, 2014 06:38
Show Gist options
  • Save bcdejp/57b374e058c7bd348dd4 to your computer and use it in GitHub Desktop.
Save bcdejp/57b374e058c7bd348dd4 to your computer and use it in GitHub Desktop.
Webページを取得する
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import requests
URL = "http://make.bcde.jp"
#Webページ(HTML)の取得
req = requests.get(URL)
#Webページ(HTML)の表示
print req.text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment