This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# --- 1.必要なライブラリのインポート | |
import urllib | |
import cv2 | |
import os | |
import numpy as np | |
import matplotlib.pyplot as plt | |
from bs4 import BeautifulSoup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head></head> | |
<body> | |
<br> | |
<canvas id="canvas1" style="margin-top:20px;"></canvas> | |
<script type="text/javascript" src="hue.js"></script> | |
<script type="text/javascript" src="color.js"></script> | |
</body> | |
</html> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/python | |
# -*- coding: utf-8 -*- | |
from HTMLParser import HTMLParser | |
import urllib2 | |
def parse_ranking(ranking_html): | |
id_list = [] | |
class WordParser(HTMLParser):# HTMLパーサ |