Skip to content

Instantly share code, notes, and snippets.

@trigeorgis
trigeorgis / filter_through_command.py
Last active April 12, 2018 19:27 — forked from olifante/filter_through_command.py
Sublime Text 3: "Filter Through Command" plugin
#!/usr/bin/env python
# -*- coding: utf-8 -*-
## based on https://gist.github.com/1910413 updated for Sublime Text 3
import sublime
import sublime_plugin
import subprocess
class PromptRunExternalCommand(sublime_plugin.WindowCommand):
from operator import itemgetter
from PIL import Image, ImageDraw, ImageFont
from matplotlib import font_manager
from multiprocessing import Pool
import numpy as np
import os.path
# Make a lowercase + uppercase alphabet.
alphabet = 'abcdefghijklmnopqrstuvwxyz'