This file contains hidden or 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 itertools, random, csv | |
| suits = ["Spades", "Diamonds", "Hearts", "Clubs"] | |
| values = ["Ace", "2", "3", "4", "5", "6", "7", "8", "9", "10", "Jack", "Queen", "King"] | |
| class InfiDeck: | |
| def __init__(self): | |
| self.deck = self.new_deck() | |
| self.new_decks = 0 | |
| self.cards = 0 |
This file contains hidden or 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 time | |
| from selenium import webdriver | |
| from selenium.webdriver.common.keys import Keys | |
| import selenium.webdriver.support.ui as ui | |
| from selenium.webdriver.common.by import By | |
| from selenium.webdriver.support import expected_conditions as EC | |
| credentials = { | |
| # login credentials for google group | |
| 'username': '<username>', |
This file contains hidden or 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__ = "Alex Beals" | |
| import sqlite3, markovify, codecs, warnings, os | |
| # Handle errors from running on Python 2.7 (emoji support) | |
| warnings.simplefilter("ignore") | |
| print("Connecting to chat database...") | |
| # Extract all of my texts from the 'db' file |
NewerOlder