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
import sys | |
import os | |
def pdf_to_csv(filename): | |
from cStringIO import StringIO | |
from pdfminer.converter import LTChar, TextConverter | |
from pdfminer.layout import LAParams | |
from pdfminer.pdfparser import PDFDocument, PDFParser | |
from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter |
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
from PIL import Image | |
im = Image.open('Flag_of_Maryland.svg.png') | |
left = Image.open('flag_left.png') | |
right = Image.open('flag_right.png') | |
count = 0 | |
dimensions = im.size |
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 | |
from subprocess import Popen, PIPE, STDOUT | |
import string | |
import thread | |
from threading import Timer | |
from gtp import parse_vertex, gtp_move, gtp_color | |
from gtp import BLACK, WHITE, PASS | |
import sgf |
NewerOlder