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
# -*- coding: utf-8 -*- | |
""" | |
Created on Wed Oct 03 10:34:20 2018 | |
@author: aockenden | |
""" | |
import random | |
from matplotlib import pyplot as plt | |
import pandas as pd |
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
from bottle import Bottle, request, redirect, template, BaseRequest | |
from exchangelib import DELEGATE, Account, Credentials, Message, Mailbox, HTMLBody | |
from datetime import datetime | |
import dbUtils as db | |
import pandas as pd | |
import os, configparser | |
import userDictFuncs as udf | |
app = Bottle() |
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 urllib2 #Import Python's url-fetching library | |
import re #Import Python's regular expressions library (string matching) | |
import pandas as pd #Import Python's data-structure library (matrices, vectorized math etc.) | |
import win32com.client as win32 | |
from datetime import datetime #Import Python's datetime library | |
hdr = {'User-Agent':'Mozilla/5.0'} #Create request header | |
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 sqlite3 # Import Python's sqlite package | |
import pandas as pd # Import pandas | |
from datetime import datetime # Import python's datetime packages | |
import seaborn as sns # Import pretty bar chart package | |
from matplotlib import pyplot as plt | |
sns.set(style = "whitegrid", rc = {'figure.figsize': (10, 10)}) | |
# Establish a connection to the sqlite database file | |
cnx = sqlite3.connect('C:/Users/aockenden/Desktop/test.db') |
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
function fillForward(bx) { | |
var cbs = document.getElementsByClassName(bx.className); | |
for(var i=1; i < cbs.length; i++) { | |
if (i == 1) { | |
var filler = cbs[i].value; | |
} | |
else { | |
cbs[i].value = filler; | |
} | |
} |