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 bs4 import BeautifulSoup | |
from urllib.request import urlopen as uReq | |
import time | |
import datetime | |
import pandas as pd | |
# setting up url address paths | |
weather_data_url = 'https://www.ndbc.noaa.gov/station_page.php?station=44013' | |
tide_table_url = 'https://www.tide-forecast.com/locations/Castle-Island-Boston-Harbor-Massachusetts/tides/latest' |
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 | |
import os | |
import pickle | |
import random | |
from collections import namedtuple | |
import multiprocessing as mp | |
try: | |
# you can get PySimpleGUI by making the following call from the command terminal: | |
# pip install pysimplegui | |
import PySimpleGUI as sg |
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
#!/usr/bin/env python3 | |
from tensorboard import default | |
from tensorboard import program | |
import re | |
# ToDo: Low Priority | |
# Investigate if there is a way to derive the default port without having to hard code | |
# magic numbers like this. | |
default_port = 6006 |
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
# yup... I am a dirty windows user ;) otherwise the sha-bang would have been here | |
import sys | |
import logging | |
try: | |
# This is only needed in order to detect if we are in debug mode when running in Pycharm IDE | |
import pydevd | |
DEBUGGING = True | |
except ImportError: |