This file contains 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 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 |
This file contains 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 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(): |