Skip to content

Instantly share code, notes, and snippets.

# -*- coding: utf-8 -*-、
__author__ = 'West'
import os
from PIL import Image, ImageDraw
from collections import namedtuple
import urllib.request
# 巧妙的使用namedtuple,定义一种tuple类型,包含'Image','Charact'
from collections import namedtuple