Skip to content

Instantly share code, notes, and snippets.

View garrettseepersad's full-sized avatar
:octocat:
robot selenium

Garrett Seepersad garrettseepersad

:octocat:
robot selenium
View GitHub Profile
@garrettseepersad
garrettseepersad / google_maps_2_komoot.py
Created April 9, 2023 02:41
google_maps_2_komoot.py
import json
from zipfile import ZipFile
import pandas as pd
import json
from timezonefinder import TimezoneFinder
from gpx_converter import Converter
import re
from komPYoot import API, Sport
import time
import os
@garrettseepersad
garrettseepersad / extractUniqueEntries.py
Last active March 15, 2020 18:35
Python read file and output unique entries
from collections import defaultdict
new_dict = {} # Initialize
f = open("stores.txt", "r")
for x in f:
name, id = (x.split(' '))
new_dict[name]=id
f = open("stores_out.txt", "w+")
for key, id in new_dict.items():