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
# this reads grid 3 files. Finds image in one grid page and same one in another and replaces it with a new one | |
import zipfile | |
from google_images_download import google_images_download | |
import re | |
import os, shutil | |
from glob import glob | |
from sys import exit, argv, exc_info, stderr | |
from PyQt5.QtCore import pyqtSignal, Qt |
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 | |
# Standard library imports. | |
from SocketServer import ThreadingMixIn | |
import BaseHTTPServer | |
import SimpleHTTPServer | |
import sys | |
import json | |
import os | |
from os.path import (join, exists, dirname, abspath, isabs, sep, walk, splitext, |