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
names = ['Reese', 'Alberto', 'Racquel', 'Shanika', 'Tony', 'Thornton', 'Linton', 'Cleave', 'Texas', 'Warren', 'Arminta', 'Gilford', 'Hali', 'Patti', 'Viney', 'Taylor', 'Susan', 'Squire', 'Joshuah', 'Delta', 'Olaf', 'Tanner', 'Sanjuana', 'Arthur', 'Robin', 'Ema', 'Lucero', 'Gay', 'Baylee', 'Bee', 'Herma', 'Cathryn', 'Krystle', 'Darion', 'Lamar', 'Tillman', 'Ardella', 'Eartha', 'Fumiko', 'Destry', 'Orrie', 'Lizzie', 'Viviana', 'Martez', 'Ed', 'Marry', 'Gwen', 'Tatyanna', 'Bunk', 'Johny', 'Krish', 'Royce', 'Mikel', 'Estill', 'Andy', 'Evelina', 'Savanah', 'Arleen', 'Garnet', 'Roxanna', 'Jaeda', 'Milly', 'Giovanny', 'Palma', 'Eleanor', 'Leroy', 'Alfreda', 'Demarcus', 'Robt', 'Lisha', 'Zetta', 'Elna', 'Kinsley', 'Freeman', 'Eduardo', 'Harriet', 'Mahala', 'Hardie', 'Myrta', 'Esteban', 'Nash', 'Alleen', 'Maddison', 'Opal', 'Alonza', 'Casimir', 'Diane', 'Rosella', 'Ofelia', 'Almon', 'Thyra', 'Martell', 'Callum', 'Presley', 'Chaz', 'Mylie', 'Doshie', 'Cora', 'Keven', 'Armida', 'Shelly', 'Betsy', 'Kelby', 'Myrtis', 'The |
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 bs4 import BeautifulSoup | |
import requests | |
r = requests.get("https://forums.testwebsite.net/login/") | |
soup = BeautifulSoup(r.content, 'html.parser') | |
data = {inputfield.attrs['name']: inputfield.attrs['value'] for inputfield in soup.find_all("input")} |
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 numpy as np | |
from scipy.interpolate import interp1d | |
from scipy.misc import imresize | |
import cv2 | |
def mapCharacters(a): | |
m = interp1d([0,255],[0,22]) | |
stamps = " .,:;irsXA253hMHGS#9B&@" |