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
# SuDoKu Solver in Python | |
# With special thanks to Computerphile (Danke Thorsten!) | |
# https://www.youtube.com/watch?v=G_UYXzGuqvM FUN TO WATH | |
# Make a list of each row of Sudoku numbers, empty = 0 | |
# Put each list (row) in a list and run! | |
import sys | |
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
bulk_exports: | |
- | |
file: all_inlinks.csv | |
name: All Inlinks | |
- | |
file: all_outlinks.csv | |
name: All Outlinks | |
- | |
file: queued_urls.csv | |
name: Queued URLs |
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 pytesseract | |
from pathlib import Path | |
from glob import glob | |
from os.path import join | |
class ImageOcr: | |
def __init__(self, my_path: Path = None): |
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
""" | |
Author : Theo van der Sluijs | |
License: MIT | |
Version: 1.0 | |
V-Date: 16 sept 2019 | |
email: theo@vandersluijs.nl | |
installation: | |
create a folder called : youtube | |
install pytube: pip install pytube |
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 requests | |
import json | |
import os | |
import re | |
import yaml | |
class ImportMDs: | |
def __init__(self, m_token=None, git_username=None): | |
try: |
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 re | |
import os | |
from tqdm import tqdm | |
class Feature2ImagePath: | |
def __init__(self): | |
self.my_file = None | |
self.backup_file = None | |
self.file_data = None |
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 locale | |
import math | |
import tableprint as tp | |
locale.setlocale(locale.LC_ALL, "") | |
class Expo_Growth: | |
def __init__(self, start=0, stop=10, words=True): |
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 requests | |
import calendar | |
import time | |
import datetime | |
from bs4 import BeautifulSoup | |
username = "" # fill in your slimmemeterportal username | |
password = "" # fill in your password | |
start_year = "" # fill in the year your started measurements |
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
''' | |
Small class to create a Gauge with Matplotlib | |
Original code from | |
http://nicolasfauchereau.github.io/climatecode/posts/drawing-a-gauge-with-matplotlib/ | |
https://github.com/nicolasfauchereau | |
He did all the work, I just created a Class out of it. | |
''' |
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 python3 | |
""" | |
author: Pure Python | |
url: https://www.purepython.org | |
copyright: CC BY-NC 4.0 | |
Forked date: 2018-01-07 / First version MIT license -- free to use as you want, cheers. | |
Original Author: Sylvain Carlioz, 6/03/2017 |