Skip to content

Instantly share code, notes, and snippets.

@tacomonster
tacomonster / AutoType.py
Created September 15, 2018 14:29
Automating Typing Program
#1431, 25
#175, 27
"""
Select right side of the screen where text editor is and type one line
After typing on line go back to terminal and ask for user to hit Enter to continue on to the
next line.
"""
import pyautogui
import random
@tacomonster
tacomonster / dashUI.py
Created August 21, 2018 12:39
Grabbing Binance price data and graphing it using Dash
import dash
from dash.dependencies import Output, Event, Input
import dash_core_components as dcc
import dash_html_components as html
import plotly
import plotly.graph_objs as go
from collections import deque
import datetime
import pandas as pd
from dataGrab import DataGrab
import time
import random
import re
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.common.exceptions import NoSuchElementException, StaleElementReferenceException
from chatterbot.trainers import ListTrainer
from chatterbot import ChatBot
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import time
import random
import sys
def print_same_line(text):
sys.stdout.write('\r')
sys.stdout.flush()