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/local/bin/python3 | |
# Initially converted with 2to3.py and then tweaked at bit | |
# from the original script by tonyrewin at https://gist.github.com/tonyrewin/9444410 | |
# Author: tonyrewin & Dieter Castel | |
from sys import argv | |
import os | |
import math | |
import urllib.request, urllib.error, urllib.parse | |
import random | |
import os.path |